test/test_helper.rb in devise-security-0.15.0 vs test/test_helper.rb in devise-security-0.16.0

- old
+ new

@@ -32,13 +32,13 @@ require 'rails/test_help' require 'devise-security' require 'database_cleaner' require "orm/#{DEVISE_ORM}" -if Rails.gem_version >= Gem::Version.new('5.0.0') - require 'rails-controller-testing' - Rails::Controller::Testing.install -end +# Controller testing is the way that Devise itself tests the functionality of +# controller, even though it has been deprecated in favor of request tests. +require 'rails-controller-testing' +Rails::Controller::Testing.install require 'support/integration_helpers' class Minitest::Test def before_setup DatabaseCleaner.start