aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/RunnerSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2011-11-04 12:33:01 -0700
committerMisko Hevery2011-11-14 20:31:14 -0800
commita87f2fb9e4d65ac5d260e914b5e31aa0e0f47b2c (patch)
tree93e69475affd24ef5b16c68e47d1476bc37787a7 /test/scenario/RunnerSpec.js
parentc27aba4354c69c4a67fab587a59a8079cc9edc91 (diff)
downloadangular.js-a87f2fb9e4d65ac5d260e914b5e31aa0e0f47b2c.tar.bz2
refactor(mock): moved mocks into its own module
Diffstat (limited to 'test/scenario/RunnerSpec.js')
-rw-r--r--test/scenario/RunnerSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scenario/RunnerSpec.js b/test/scenario/RunnerSpec.js
index 62d84fca..15bcc4b0 100644
--- a/test/scenario/RunnerSpec.js
+++ b/test/scenario/RunnerSpec.js
@@ -46,8 +46,8 @@ describe('angular.scenario.Runner', function() {
runner.createSpecRunner_ = function(scope) {
return scope.$new(MockSpecRunner);
};
- runner.on('SpecError', rethrow);
- runner.on('StepError', rethrow);
+ runner.on('SpecError', angular.mock.rethrow);
+ runner.on('StepError', angular.mock.rethrow);
});
afterEach(function() {