jnicklas/capybara — Issue #595: Empty input field submits wrong value
Author: jacobat
Created: 2012-01-07 15:09:22+00:00
State: open

I'm doing some request spec'ing with RSpec and Capybara 1.1.2 using the default driver.

I've got this piece of HTML:

```HTML

```

When I submit it in the browser I get params like:

```
Parameters: {... "role_ids"=>[""]} ...}
```

But in the test it submits:

```
Parameters: {... "role_ids"=>["[\"\"]"]} ...}
```

Setting a value="" does not change anything.