aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ngResource/resourceSpec.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/ngResource/resourceSpec.js b/test/ngResource/resourceSpec.js
index dc837f80..3c14a87a 100644
--- a/test/ngResource/resourceSpec.js
+++ b/test/ngResource/resourceSpec.js
@@ -14,14 +14,7 @@ describe("resource", function() {
},
patch: {
method: 'PATCH'
- },
- conditionalPut: {
- method: 'PUT',
- headers: {
- 'If-None-Match': '*'
- }
}
-
});
callback = jasmine.createSpy();
}));
@@ -184,15 +177,6 @@ describe("resource", function() {
});
- it('should send correct headers', function() {
- $httpBackend.expectPUT('/CreditCard/123', undefined, function(headers) {
- return headers['If-None-Match'] == "*";
- }).respond({id:123});
-
- CreditCard.conditionalPut({id: {key:123}});
- });
-
-
it("should read partial resource", function() {
$httpBackend.expect('GET', '/CreditCard').respond([{id:{key:123}}]);
var ccs = CreditCard.query();