I don't agree with Capybara's rack_test driver knowing anything about Rails 3
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Gemfile
Gemfile.lock
README.md
capybara_data_method_test.rb

README.md

Introduction

I don't agree with Capybara's rack_test driver knowing anything about Rails 3. Kalv's written about it and I've raised an issue against Capybara.

I've created this as a kinda failing test to expose one side of the problem. Rack does not equal Rails 3 yet Capybara's rack_test driver does 'clever' things with some arbitrary data-* attributes that Rails 3 emits.