spec/spec.matchers.js in visionmedia-jspec-2.0.1 vs spec/spec.matchers.js in visionmedia-jspec-2.0.2
- old
+ new
@@ -66,11 +66,15 @@
end
end
describe 'be_null'
it 'should check if a value is null'
+ a = 0
+ b = null
null.should.be_null
0.should.not.be_null
+ a.should.not.be_null
+ b.should.be_null
end
end
describe 'have_length'
it 'should compare the length of an object'
\ No newline at end of file