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:
ruby
ClassMiniTest::Rails::ActionDispatch::IntegrationTest
include Rails.application.routes.url_helpers
include Capybara::DSL
include Capybara::RSpecMatchersend
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 :)
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:
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 :)