mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-11 09:17:20 -04:00
Raise errors on deprecations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user