diff --git a/spec/support/authentication_helpers.rb b/spec/support/authentication_helpers.rb index 1ff767f5a..fe252cb02 100644 --- a/spec/support/authentication_helpers.rb +++ b/spec/support/authentication_helpers.rb @@ -9,6 +9,6 @@ def sign_in_as!(user) RSpec.configure do |config| config.include AuthenticationHelpers, type: :feature - config.include Devise::TestHelpers, type: :controller + config.include Devise::Test::ControllerHelpers, type: :controller config.include Rack::Test::Methods, type: :feature end diff --git a/spree_auth_devise.gemspec b/spree_auth_devise.gemspec index 11a8336ef..bc5ca1d6b 100644 --- a/spree_auth_devise.gemspec +++ b/spree_auth_devise.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |s| s.require_path = 'lib' s.requirements << 'none' - s.add_dependency 'devise', '~> 4.0.0' + s.add_dependency 'devise', '~> 4.3.0' s.add_dependency 'devise-encryptable', '0.1.2' spree_version = '>= 3.1.0', '< 4.0'