Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Jordan Brock's Profile

GitHub User: jordanbrock


Comments by Jordan Brock


Just a quick follow up, minitest-rails-capybara is working now.


As of the latest (07/07/2012) version of minitest-rails you don't need to create an Integration class and register it with MiniTest::Spec.

If you want to use Rails routing and/or Capybara matchers, you still need to include them. Like so:

Class MiniTest::Rails::ActionDispatch::IntegrationTest
  include Rails.application.routes.url_helpers
  include Capybara::DSL
  include Capybara::RSpecMatchers

blowmage also has a minitest-rails-capybara that obviates the need to even do the above. However, I haven't been able to get it to work as of yet. It was only released today, so there's no point in being too picky :)