 
       $.ajax('/test').done -> done()
 
+    it 'should be configurable via $.ajaxSetup', (done) ->
+
+      $.ajaxSetup
+        method: 'POST'
+
+      $.ajax('/capture').done -> done()
+
   describe 'url', ->
 
     it 'should allow the url to be passed in as a setting', (done) ->

        assert.ok @converters['* text']
        done()

  describe 'data', ->

    it 'should add the data to the query string', (done) ->

      # ?someKey[]=1&someKey[]=2&someKey[]=3
      $.ajax('/test', settings).done (data, textStatus, xhr) ->
        assert.equal @url, '/test?someKey%5B%5D=1&someKey%5B%5D=2&someKey%5B%5D=3'
        done()

    it 'should be configurable via $.ajaxSetup (and merged with data passed in settings', (done) ->

      $.ajaxSetup
        data:
          someOtherKey: 'someOtherValue'

      settings =
        data:
          someKey: 'someVal'

      $.ajax('/test', settings).done (data, textStatus, xhr) ->
        assert.equal @url, '/test?someOtherKey=someOtherValue&someKey=someVal'
        done()

  describe 'dataFilter', ->
