diff options
| author | Misko Hevery | 2010-10-23 13:10:42 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-10-23 13:12:45 -0700 |
| commit | 6ddcf918610c1dd094a964fc03e129a67f17dfaa (patch) | |
| tree | ba690c591b40c97f86d0aef9a2a160e46356a7f0 /test/scenario/matchersSpec.js | |
| parent | 8a867cee229b78f5bfde6a05fdbe0d7d3d608e11 (diff) | |
| download | angular.js-6ddcf918610c1dd094a964fc03e129a67f17dfaa.tar.bz2 | |
Fix test which was causing the Chrome runner to fail. Upgraded JSTD to latest. Cleanup whitespace.
Diffstat (limited to 'test/scenario/matchersSpec.js')
| -rw-r--r-- | test/scenario/matchersSpec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scenario/matchersSpec.js b/test/scenario/matchersSpec.js index faabd1a2..16ba1ce6 100644 --- a/test/scenario/matchersSpec.js +++ b/test/scenario/matchersSpec.js @@ -1,6 +1,6 @@ describe('angular.scenario.matchers', function () { var matchers; - + function expectMatcher(value, test) { delete matchers.error; delete matchers.future.value; @@ -10,9 +10,9 @@ describe('angular.scenario.matchers', function () { test(); expect(matchers.error).toBeUndefined(); } - + beforeEach(function() { - /** + /** * Mock up the future system wrapped around matchers. * * @see Scenario.js#angular.scenario.matcher @@ -27,7 +27,7 @@ describe('angular.scenario.matchers', function () { }; angular.extend(matchers, angular.scenario.matcher); }); - + it('should handle basic matching', function() { expectMatcher(10, function() { matchers.toEqual(10); }); expectMatcher('value', function() { matchers.toBeDefined(); }); |
