spec/support/capybara.rb in spree-faq-2.0.1 vs spec/support/capybara.rb in spree-faq-2.1.0

- old
+ new

@@ -1,13 +1,17 @@ require 'capybara/rspec' require 'capybara/rails' require 'capybara/poltergeist' +module CapybaraHelpers; end + RSpec.configure do |config| + config.include CapybaraHelpers, type: :feature + Capybara.javascript_driver = :poltergeist config.before(:each, :js) do if Capybara.javascript_driver == :selenium page.driver.browser.manage.window.maximize end end -end +end \ No newline at end of file