spec/spec.matchers.js in visionmedia-jspec-2.8.4 vs spec/spec.matchers.js in visionmedia-jspec-2.9.0
- old
+ new
@@ -297,9 +297,10 @@
getPets : function() { return ['izzy'] },
addPet : function(name) { return ['izzy', name] },
addPets : function(a, b) { return ['izzy', a, b] }
}
end
+
it 'should pass when the method is invoked'
personWithPets.should.receive('getPets')
personWithPets.getPets()
end
\ No newline at end of file