spec/spec.matchers.js in visionmedia-jspec-2.5.1 vs spec/spec.matchers.js in visionmedia-jspec-2.6.0
- old
+ new
@@ -80,9 +80,16 @@
a.should.not.be_null
b.should.be_null
end
end
+ describe 'be_undefined'
+ it 'should check if a var is defined'
+ var foo
+ foo.should.be_undefined
+ end
+ end
+
describe 'have_length'
it 'should compare the length of an object'
'foo'.should.have_length 3
[1, 2].should.have_length 2
end
\ No newline at end of file