aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/routeParamsSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/routeParamsSpec.js')
-rw-r--r--test/ng/routeParamsSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ng/routeParamsSpec.js b/test/ng/routeParamsSpec.js
index d1b2ecb1..e3aac1a2 100644
--- a/test/ng/routeParamsSpec.js
+++ b/test/ng/routeParamsSpec.js
@@ -3,8 +3,8 @@
describe('$routeParams', function() {
it('should publish the params into a service', function() {
module(function($routeProvider) {
- $routeProvider.when('/foo');
- $routeProvider.when('/bar/:barId');
+ $routeProvider.when('/foo', {});
+ $routeProvider.when('/bar/:barId', {});
});
inject(function($rootScope, $route, $location, $routeParams) {