The company name is: Index Data
[mkws-moved-to-github.git] / test / spec / sample.spec.js
index f9c001b..730f918 100644 (file)
@@ -1,25 +1,31 @@
-describe('jasmine-node', function(){
+/* Copyright (c) 2013 Index Data ApS. http://indexdata.com
+ *
+ * jQuery sample from system documentation
+ *
+ */
 
-  it('should pass', function(){
-    expect(1+2).toEqual(3);
-  });
+describe('jasmine-node', function () {
 
-  it('shows asynchronous test', function(){
-    setTimeout(function(){
-      expect('second').toEqual('second');
-      asyncSpecDone();
-    }, 1);
-    expect('first').toEqual('first');
-    asyncSpecWait();
-  });
+    it('should pass', function () {
+        expect(1 + 2).toEqual(3);
+    });
 
-  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');
-  });
+    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');
+    });
 });