From 8dabe88ad66d705d1af25698af2e124c21736a61 Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Fri, 1 May 2015 10:10:53 -0400 Subject: [PATCH] Remove deprecated sample spec from old Jasmine docs --- test/spec/sample.spec.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 test/spec/sample.spec.js 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'); - }); -}); -- 1.7.10.4