spec/javascripts/angular/services/resource_spec.js in memcached-manager-0.2.3 vs spec/javascripts/angular/services/resource_spec.js in memcached-manager-0.3.0
- old
+ new
@@ -5,9 +5,11 @@
module('keysServices');
module('ngResource');
inject(function($injector){
$httpBackend = $injector.get('$httpBackend');
});
+
+ window.basePath = '';
});
it("requests a bunch of keys correctly", inject(function(Keys){
$httpBackend.expectGET('/api/keys.json').respond([]);
Keys.get();