logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 355965c17b8b27fa2cdaa46962fef1644036f2ae
parent: 0f889523e461a33c2ccd364dcc63ae072978c96d
Author: Matt Jankowski <mjankowski@thoughtbot.com>
Date:   Sat, 15 Apr 2017 07:30:57 -0400

Silence Devise deprecation warning about TestHelpers (#1840)

Devise changed their approach -
https://github.com/plataformatec/devise/commit/3f3ec236bb50a2ae8b0eede90d8f7ecd201d7dbb

This change silences a deprecation warning about `TestHelpers`

Diffstat:

Mspec/rails_helper.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb @@ -23,7 +23,7 @@ RSpec.configure do |config| config.filter_rails_from_backtrace! 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.before :each, type: :feature do