Skip to content

Commit

Permalink
fixed bug in verifyAll
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/jyurek/Backups/repositories/jocha/trunk@15 5317845c-832e-0410-b2c0-db6c5bc7c761
  • Loading branch information
tfwright committed Apr 20, 2007
1 parent b767d4e commit e80e008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jocha.js
@@ -1,7 +1,7 @@
Jocha = {
mocks : new Array(),
// JSUnit specific
verifyAll : function(){ this.mocks.each(function(m){ assertTrue(m.verify())}) }
verifyAll : function(){ this.mocks.each(function(m){ assertTrue(m.expectations.all(function(e){return e.invoked}))}) }
}
Jocha.Mock = Class.create();
Jocha.Mock.prototype = {
Expand Down

0 comments on commit e80e008

Please sign in to comment.