I'm using capybara-webkit to test a form where the fields are populated using jquery-tokeninput (https://github.com/loopj/jquery-tokeninput). The problem is that using fill_in does not work with this. Is there anyway to test this automatically? Thanks in advance.
https://github.com/markgandolfo/send-keys
And I send a to "input#search"
And I send abc to "input#search"
And I send 'abc' to "input#search"
And I send arrow_left to "input#search"
And I send [shift, a] to "input#search"
And I send enter to "input#search"
And I send hello to "#message" And I should see "135" in "characters_left" And I send backspace to "#message" And I should see "136" in "characters_left"
And I send "bo" to "input#username" And I should see "bob" within "username_suggestions" And I send enter to "input#username"