Permalink
Browse files

FIX replaced A.isTrue with A.areEqual from review

  • Loading branch information...
1 parent 7b24220 commit ec3d1e1646800ef01b79f7b6f2abec9a61a19d1a @imalberto committed Oct 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/lib/app/middleware/test-handler-static.js
View
4 tests/unit/lib/app/middleware/test-handler-static.js
@@ -234,7 +234,7 @@ YUI().use('mojito-test-extra', 'test', function(Y) {
handler(req, res, function() {
callCount++;
});
- A.isTrue(0 === callCount, 'next() handler should not have been called')
+ A.areEqual(0, callCount, 'next() handler should not have been called')
A.isTrue(resourceContentCalled, 'getResourceContent was not called for url: ' + req.url);
}
@@ -291,7 +291,7 @@ YUI().use('mojito-test-extra', 'test', function(Y) {
A.fail('next() handler 1 should not have been called');
});
- //
+ //
// handle res of type array
store.getAllURLResources = function() {
return {};

0 comments on commit ec3d1e1

Please sign in to comment.