fix(test): Call hasAll correctly

This commit is contained in:
Sabe Jones
2015-09-16 16:12:29 -04:00
parent 7cc29810f3
commit 2bde07fa1c
2 changed files with 2 additions and 3 deletions

View File

@@ -225,7 +225,7 @@ describe('Inventory Controller', function() {
describe('#hasAllTimeTravelerItems', function() {
it('returns false if items remain for purchase with Mystic Hourglasses', function() {
expect(scope.hasAllTimeTravelerItems).to.eql(false);
expect(scope.hasAllTimeTravelerItems()).to.eql(false);
});
it('returns true if there are no items left to purchase', inject(function(Content) {
@@ -237,7 +237,7 @@ describe('Inventory Controller', function() {
user.items.mounts[mount] = true;
}
expect(scope.hasAllTimeTravelerItems).to.eql(true);
expect(scope.hasAllTimeTravelerItems()).to.eql(true);
}));
});