test/test_helper.rb in adyen-2.0.0 vs test/test_helper.rb in adyen-2.1.0
- old
+ new
@@ -1,16 +1,14 @@
# encoding: UTF-8
require 'minitest/autorun'
require 'minitest/pride'
require 'mocha/setup'
-require 'capybara/poltergeist'
-require 'adyen'
+require 'adyen/base'
require 'adyen/matchers'
require 'helpers/configure_adyen'
-require 'helpers/example_server'
require 'helpers/test_cards'
require 'pp'
module Adyen::Test
@@ -42,15 +40,5 @@
end
end
end
end
end
-
-
-
-Capybara.register_driver :poltergeist do |app|
- Capybara::Poltergeist::Driver.new(app, phantomjs_options: ['--ssl-protocol=any'])
-end
-
-Capybara.default_driver = :poltergeist
-Capybara.javascript_driver = :poltergeist
-Capybara.app = Adyen::ExampleServer