sferik/rails_admin — pull request #1444 by taavo (2012-12-18 18:29:36+00:00)
Title: upgrade to capybara 2

Fixes #1441

Notes:
* `page.driver.post` and other similar methods have never been supported, and are broken in Capybara 2.0. Where possible I replaced them with straight Rack::Test methods (which is the official recommendation for api tests); otherwise I used the new unsupported hack from http://stackoverflow.com/questions/13583375/testing-specific-post-requests-form-hacking-permissions-protection-with-capyb
* Couldn't just move our integration tests to /features, because then Rack::Test isn't available, and it seemed simpler to config.include Capybara in /integration than move /integration to /features and config.include Rack::Test in /features.

Please let me know if you have any questions or concerns. This was somewhat more involved than I anticipated. And happy holidays.