lib/jspec.js in visionmedia-jspec-2.10.0 vs lib/jspec.js in visionmedia-jspec-2.11.0
- old
+ new
@@ -3,11 +3,11 @@
(function(){
JSpec = {
- version : '2.10.0',
+ version : '2.11.0',
cache : {},
suites : [],
modules : [],
allSuites : [],
matchers : {},
@@ -499,17 +499,17 @@
assertions: [],
// Add passing assertion
pass : function(message) {
- this.assertions.push({ passed : true, message : message })
+ this.assertions.push({ passed: true, message: message })
++JSpec.stats.passes
},
// Add failing assertion
fail : function(message) {
- this.assertions.push({ passed : false, message : message })
+ this.assertions.push({ passed: false, message: message })
++JSpec.stats.failures
},
// Run deferred assertions
\ No newline at end of file