Reputation: 914
Guys.
I'm trying test using Rails 3.1.1 + Rspec + Capybara my form that use AJAX, but no success. Would be the correct when the field postal_code lost focus the street would be loaded, but this does not happen. This is source code of the my test: source
Upvotes: 0
Views: 297
Reputation: 5095
What kind of driver are you using with Capybara? For javascript - enabled integration testing you need to use, for example: selenium
.
Upvotes: 2