spec/support/capybara.rb in spree-faq-2.2.0 vs spec/support/capybara.rb in spree-faq-2.2.1
- old
+ new
@@ -1,17 +1,13 @@
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
\ No newline at end of file
+end