RSpec.configure do |config|
  # Add Devise's helpers for controller tests
  config.include Devise::TestHelpers, type: :controller
end

RSpec.configure do |config|
  # Add Devise's helpers for controller tests
  config.include Devise::Test::ControllerHelpers, type: :controller
end

Fix a Devise deprecation warning in the tests
Fix a Devise deprecation warning in the tests
