Skip to content

Commit

Permalink
Remove unused parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgraham committed Oct 13, 2014
1 parent d727332 commit a233184
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ asyncTest('sends headers', 2, function() {
'Accept': 'application/json',
'X-Test': '42'
}
}).then(function(response) {
}).then(function() {
var request = MockXHR.last()
equal(request.headers['Accept'], 'application/json')
equal(request.headers['X-Test'], '42')
Expand Down Expand Up @@ -86,7 +86,7 @@ asyncTest('post sends encoded body', 2, function() {
undef: undefined,
nil: null
}
}).then(function(response) {
}).then(function() {
var request = MockXHR.last()
equal(request.method, 'post')
equal(request.data, 'name=Hubot&title=Hubot+Robawt&nil=')
Expand All @@ -98,7 +98,7 @@ asyncTest('post sets content-type header', 1, function() {
fetch('/hello', {
method: 'post',
body: {}
}).then(function(response) {
}).then(function() {
var request = MockXHR.last()
equal(request.headers['Content-Type'], 'application/x-www-form-urlencoded; charset=UTF-8')
start()
Expand Down

0 comments on commit a233184

Please sign in to comment.