diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ng/routeSpec.js | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ng/routeSpec.js b/test/ng/routeSpec.js index 31d932f7..0e98be5f 100644 --- a/test/ng/routeSpec.js +++ b/test/ng/routeSpec.js @@ -232,10 +232,10 @@ describe('$route', function() {            return deferB.promise;          });          $routeProvider.when('/path', { templateUrl: 'foo.html', resolve: { -          a: function($q) { +          a: ['$q', function($q) {              deferA = $q.defer();              return deferA.promise; -          }, +          }],            b: 'b'          } });        }); @@ -434,8 +434,8 @@ describe('$route', function() {        });      });    }); -   -   + +    it('should match route with and without trailing slash', function() {      module(function($routeProvider){        $routeProvider.when('/foo', {templateUrl: 'foo.html'});  | 
