projects
/
angular-drzb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15d484f
)
respond with fake data
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 13 Mar 2013 19:10:57 +0000
(20:10 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 13 Mar 2013 19:10:57 +0000
(20:10 +0100)
test/unit/controllersSpec.js
patch
|
blob
|
history
diff --git
a/test/unit/controllersSpec.js
b/test/unit/controllersSpec.js
index
e7eb996
..
41ae21d
100644
(file)
--- a/
test/unit/controllersSpec.js
+++ b/
test/unit/controllersSpec.js
@@
-82,7
+82,9
@@
describe('AuthorsCtrl', function(){
beforeEach(inject(function($injector) {
$httpBackend = $injector.get('$httpBackend');
- $httpBackend.whenJSONP(/authors/).passThrough();
+ $httpBackend.whenJSONP(/authors/)
+// .passThrough();
+ .respond({ rows: [] });
}));
afterEach(function() {
$httpBackend.verifyNoOutstandingExpectation();