features/support/env.rb in noodall-devise-0.1.8 vs features/support/env.rb in noodall-devise-0.2.1

- old
+ new

@@ -1,22 +1,17 @@ -# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. -# It is recommended to regenerate this file in the future when you upgrade to a -# newer version of cucumber-rails. Consider adding your own code to a new file -# instead of editing this one. Cucumber will automatically load all features/**/*.rb -# files. - ENV["RAILS_ENV"] ||= "test" require File.expand_path("../../../spec/dummy/config/environment.rb", __FILE__) -require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support -require 'cucumber/rails/rspec' +require 'cucumber/rails/action_controller' +require 'action_dispatch/testing/test_process' +require 'action_dispatch/testing/integration' require 'cucumber/rails/world' +require 'cucumber/rails/hooks' +require 'cucumber/rails/capybara' + require 'cucumber/web/tableish' require 'cucumber/rspec/doubles' -require 'capybara/rails' -require 'capybara/cucumber' -require 'capybara/session' # Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In # order to ease the transition to Capybara we set the default here. If you'd # prefer to use XPath just remove this line and adjust any selectors in your # steps to use the XPath syntax. Capybara.default_selector = :css