mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 13:17:13 +00:00
Silence Devise deprecation warning about TestHelpers (#1840)
Devise changed their approach -
3f3ec236bb
This change silences a deprecation warning about `TestHelpers`
This commit is contained in:
parent
0f889523e4
commit
355965c17b
|
@ -23,7 +23,7 @@ RSpec.configure do |config|
|
||||||
config.filter_rails_from_backtrace!
|
config.filter_rails_from_backtrace!
|
||||||
|
|
||||||
config.include Devise::Test::ControllerHelpers, type: :controller
|
config.include Devise::Test::ControllerHelpers, type: :controller
|
||||||
config.include Devise::TestHelpers, type: :view
|
config.include Devise::Test::ControllerHelpers, type: :view
|
||||||
config.include Paperclip::Shoulda::Matchers
|
config.include Paperclip::Shoulda::Matchers
|
||||||
|
|
||||||
config.before :each, type: :feature do
|
config.before :each, type: :feature do
|
||||||
|
|
Loading…
Reference in a new issue