brightbit/frisby — Issue #1: Passing an integer as a POST param value results in that value not being used at all
Author: jturmel
Created: 2012-01-05 06:30:14+00:00
State: open

Example:

app.frisby.toss('update profile of user')
.post(spec.users.john.url + '/update.json', {
somekey: 'somevalue',
gender: 1,
someotherkey: 'someothervalue'
})
.expectStatus(200)
.expectJSON('response', { gender: 1 })
.inspectBody()
.inspectRequest()
.run();

This results in a POST body of somekey=somevalue&gender&someotherkey