masylum/testosterone — Issue #11: Testerone won't accept POST Data that has objects in arrays.
Author: jeregrine
Created: 2011-11-03 15:15:01+00:00
State: open

If I have a test setup like this

```coffeescript
goodTest=
Lat: '1.00'
Lng: '1.00'
zChange: '1.00'

data=
data:
data: [goodTest]
User: "tester"
test
.post '/points', data, (res) ->
assert.equal res.statusCode, 200
assert.equal JSON.parse(res.body)['status'], 'success'
```

My web service gets post data as follows

``` javascript
{ data: [""], User: 'tester' }
```

When I was expecting an array of JSON Objects. If I stringify the objects it works but then I need to parse the string manually.