spec/spec_helper.rb in solidus_gateway-1.1.1 vs spec/spec_helper.rb in solidus_gateway-1.2.0

- old
+ new

@@ -6,14 +6,16 @@ require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rspec/rails" require "capybara/rspec" +require 'capybara-screenshot/rspec' require 'capybara/poltergeist' Capybara.register_driver(:poltergeist) do |app| Capybara::Poltergeist::Driver.new app, timeout: 90 end Capybara.javascript_driver = :poltergeist +Capybara.default_max_wait_time = 10 require "database_cleaner" require "braintree" require "ffaker"