From: Jason Skomorowski Date: Fri, 1 May 2015 14:10:53 +0000 (-0400) Subject: Remove deprecated sample spec from old Jasmine docs X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=8dabe88ad66d705d1af25698af2e124c21736a61 Remove deprecated sample spec from old Jasmine docs --- diff --git a/test/spec/sample.spec.js b/test/spec/sample.spec.js deleted file mode 100644 index 730f918..0000000 --- a/test/spec/sample.spec.js +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013 Index Data ApS. http://indexdata.com - * - * jQuery sample from system documentation - * - */ - -describe('jasmine-node', function () { - - it('should pass', function () { - expect(1 + 2).toEqual(3); - }); - - it('shows asynchronous test', function () { - setTimeout(function () { - expect('second').toEqual('second'); - asyncSpecDone(); - }, 1); - expect('first').toEqual('first'); - asyncSpecWait(); - }); - - it('shows asynchronous test node-style', function (done) { - setTimeout(function () { - expect('second').toEqual('second'); - // If you call done() with an argument, it will fail the spec - // so you can use it as a handler for many async node calls - done(); - }, 1); - expect('first').toEqual('first'); - }); -});