Rails3 TDD: Capybara != Webrat
Montag, 25. April 2011, 21:37 Uhr | roberto@vasquez-angel.de |Capybara is not a drop-in replacement and does not have the same API. I’ll collect differences here:
Webrat | Capybara |
---|---|
response.should | page.should |
contain | have_content |
Other gotchas: * fill_in does not work with symbols as the fieldname on capybara!