(function () {

    'use strict';

    var reverseUrl, $route;
    var routeMock = {};

    routeMock.routes = {
        '/testRoute1/': {
            controller: 'TestController1',
            originalPath: '/test-route-1/'
        },
        '/testRoute1/:params/': {
            controller: 'TestController1',
            originalPath: '/test-route-1/:param/'
        },
        '/testRoute2/': {
            name: 'TestRoute2',
            originalPath: '/test-route-2/'
        },
    };

    describe('Unit: angular-reverse-url', function () {

        beforeEach(module('angular-reverse-url', function ($provide) {
            $provide.value('$route', routeMock);
        }));

        describe('reverseUrl filter', function () {

            beforeEach(inject(function ($injector) {
                $route = $injector.get('$route')
                reverseUrl = $injector.get('$filter')('reverseUrl');
            }));

            it('should correctly match to a basic route by controller', function () {                
                expect(reverseUrl('TestController1')).toEqual('#/test-route-1/');
            });

            it('should correctly match to a basic route by name', function () {                
                expect(reverseUrl('TestRoute2')).toEqual('#/test-route-2/');
            });

            it('should correctly match to a route with params', function () {                
                expect(reverseUrl('TestController1', {param: 'foobar'})).toEqual('#/test-route-1/foobar/');
            });

            it('should log an error if a route is not found');

            it('should log an error if params are required and missing');

            it('should log an error if params keys are not found');

        });

    });

}());

@@ -1005,33 +1005,17 @@
 ion () %7B
-                
 %0A
+
         
@@ -1184,32 +1184,16 @@
 ion () %7B
-                
 %0A       
@@ -1271,32 +1271,32 @@
            %7D);%0A%0A
+
             it('
@@ -1356,32 +1356,16 @@
 ion () %7B
-                
 %0A       

Remove whitespace