test(setup): update Devise controller helpers

This commit is contained in:
Luis Castro 2019-07-13 10:52:26 +02:00
parent dd64ee5159
commit 35c2f5a640
No known key found for this signature in database
GPG key ID: 0A8F33D4C4E27639
2 changed files with 3 additions and 3 deletions

View file

@ -32,5 +32,5 @@ RSpec.configure do |config|
config.include Capybara::DSL, type: :request
config.include FactoryGirl::Syntax::Methods
config.include Devise::TestHelpers, :type => :controller
end
config.include Devise::Test::ControllerHelpers, type: :controller
end

View file

@ -59,6 +59,6 @@ RSpec.configure do |config|
config.filter_rails_from_backtrace!
# arbitrary gems may also be filtered via:
# config.filter_gems_from_backtrace("gem name")
config.include Devise::TestHelpers, :type => :controller
config.include Devise::Test::ControllerHelpers, type: :controller
config.include RSpec::Rails::RequestExampleGroup, type: :request, file_path: /spec\/api/
end