spec/spec_helper.rb in spree_gateway-3.2.0.beta vs spec/spec_helper.rb in spree_gateway-3.2.0
- old
+ new
@@ -12,11 +12,10 @@
require 'capybara/poltergeist'
require 'capybara-screenshot/rspec'
require 'database_cleaner'
require 'ffaker'
require 'rspec/active_model/mocks'
-require 'rails-controller-testing'
Dir[File.join(File.dirname(__FILE__), "support", "**", "*.rb")].each { |f| require f }
require 'spree/testing_support/factories'
require 'spree/testing_support/order_walkthrough'
@@ -52,12 +51,6 @@
config.after do
DatabaseCleaner.clean
end
Capybara.javascript_driver = :poltergeist
-
- [:controller, :view, :request].each do |type|
- config.include ::Rails::Controller::Testing::TestProcess, type: type
- config.include ::Rails::Controller::Testing::TemplateAssertions, type: type
- config.include ::Rails::Controller::Testing::Integration, type: type
- end
end