del82 / ezra

ezra on rails
2 stars 1 forks source link

"No changes" button fails to change to "Save changes" when some fields are changed #16

Closed del82 closed 11 years ago

del82 commented 11 years ago

When certain fields are changed in the hit edit screen, the "No changes" button fails to change to "Save changes" to indicate that the hit record has been changed.

I've added specs covering this behavior in the master branch on commit 917100f9adcf4bd60b902381e2e7fd0fd52d6eec

parryc commented 11 years ago

Capybara using Selenium (the default) has an issue where fill_in does not trigger a change event (which is what I'm using to check for changes...). I tried switching to capybara-webkit, but it's a major hassle to install and doesn't work well with anything before OS X 10.7, which likely rules out a fair number of people who'd be using this. I've opted to comment out the tests and just be very thorough in reviewing the code.

We can reopen this if a new solution appears.