projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't mix jQuery and '$', they can be different variables
[mkws-moved-to-github.git]
/
test
/
spec
/
sample.spec.js
diff --git
a/test/spec/sample.spec.js
b/test/spec/sample.spec.js
index
f9c001b
..
cad1b90
100644
(file)
--- a/
test/spec/sample.spec.js
+++ b/
test/spec/sample.spec.js
@@
-1,3
+1,9
@@
+/* Copyright (c) 2013 IndexData ApS. http://indexdata.com
+ *
+ * jQuery sample from system documentation
+ *
+ */
+
describe('jasmine-node', function(){
it('should pass', function(){
describe('jasmine-node', function(){
it('should pass', function(){
@@
-16,7
+22,7
@@
describe('jasmine-node', function(){
it('shows asynchronous test node-style', function(done){
setTimeout(function(){
expect('second').toEqual('second');
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
+ // 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);
// so you can use it as a handler for many async node calls
done();
}, 1);