rails_generators/cucumber/templates/env.rb in cucumber-0.1.10 vs rails_generators/cucumber/templates/env.rb in cucumber-0.1.11
- old
+ new
@@ -2,7 +2,10 @@
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'cucumber/rails/world'
Cucumber::Rails.use_transactional_fixtures
-# Comment out the next line if you're not using RSpec's matchers (should / should_not) in your steps.
+require 'webrat/rails'
+
+# Comment out the next two lines if you're not using RSpec's matchers (should / should_not) in your steps.
require 'cucumber/rails/rspec'
+require 'webrat/rspec-rails'