diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 1d14678f0..03330a79c 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -87,6 +87,8 @@ RSpec.configure do |config| # https://relishapp.com/rspec/rspec-rails/docs config.infer_spec_type_from_file_location! + config.raise_errors_for_deprecations! + # controller specs require this to work with Devise # see https://github.com/plataformatec/devise/wiki/How-To%3a-Controllers-and-Views-tests-with-Rails-3-%28and-rspec%29 config.include Devise::Test::ControllerHelpers, type: :controller