test(setup): update Devise controller helpers
This commit is contained in:
parent
dd64ee5159
commit
35c2f5a640
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
config.include Devise::Test::ControllerHelpers, type: :controller
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue