fix mock httpBackend
[angular-drzb] / test / unit / controllersSpec.js
index de7a63d..e0ad327 100644 (file)
@@ -48,7 +48,7 @@ describe('ListCtrl', function(){
   beforeEach(inject(function($injector) {
     $httpBackend = $injector.get('$httpBackend');
        $httpBackend
-               .when('GET', '/data/%3C%25=%20$couchdb_database%20%25%3E/registration?registraionId=undefined')
+               .when('GET', '/data/%3C%25=%20$couchdb_database%20%25%3E/registration')
                .respond([])
        ;
   }));