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:
Matt Jankowski 2017-04-15 07:30:57 -04:00 committed by Eugen
parent 0f889523e4
commit 355965c17b

View File

@ -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