From 5d3e94690d6f81a74f3ffec5dd69bff27f3a0187 Mon Sep 17 00:00:00 2001 From: Steve Tooke Date: Tue, 27 Aug 2013 16:24:56 +0100 Subject: [PATCH] Explicitly disable autorun after rails test code is required. --- lib/cucumber/rails.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cucumber/rails.rb b/lib/cucumber/rails.rb index 655768fb..6c3fcf6d 100644 --- a/lib/cucumber/rails.rb +++ b/lib/cucumber/rails.rb @@ -23,6 +23,7 @@ require 'cucumber/rails/capybara' require 'cucumber/rails/database' + MultiTest.disable_autorun else warn "WARNING: Cucumber-rails required outside of env.rb. The rest of loading is being deferred until env.rb is called. To avoid this warning, move 'gem \'cucumber-rails\', :require => false' under only group :test in your Gemfile.