aboutsummaryrefslogtreecommitdiffstats
path: root/test/ngResource/resourceSpec.js
diff options
context:
space:
mode:
authorVojta Jina2013-08-20 14:41:27 -0700
committerVojta Jina2013-08-23 12:43:42 -0700
commitb89a4e49b922894f93d5cc69e00016f157dee625 (patch)
treef2c1fdc470b686d4faaa18a11449bdba4f361fbc /test/ngResource/resourceSpec.js
parenteefcdad013b56d5d3a05c0b2137a5860091b2575 (diff)
downloadangular.js-b89a4e49b922894f93d5cc69e00016f157dee625.tar.bz2
test: rename / remove duplicate unit tests
Diffstat (limited to 'test/ngResource/resourceSpec.js')
-rw-r--r--test/ngResource/resourceSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ngResource/resourceSpec.js b/test/ngResource/resourceSpec.js
index d971e8e7..c49ac9e0 100644
--- a/test/ngResource/resourceSpec.js
+++ b/test/ngResource/resourceSpec.js
@@ -797,7 +797,7 @@ describe("resource", function() {
});
- it('should call the error callback if provided on non 2xx response', function() {
+ it('should call the error callback if provided on non 2xx response (without data)', function() {
$httpBackend.expect('GET', '/CreditCard').respond(ERROR_CODE, ERROR_RESPONSE);
CreditCard.get(callback, errorCB);