mirror of
https://github.com/carrierwaveuploader/carrierwave.git
synced 2022-11-09 12:03:54 -05:00
add rspec config raise_errors_for_deprecations!
prevent to add code with rspec deprecation
This commit is contained in:
parent
6bf0de8173
commit
27ee8afa6f
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ RSpec.configure do |config|
|
|||
config.prepend CarrierWave::Test::SsrfProtectionAwareWebMock
|
||||
config.verbose_retry = true
|
||||
config.display_try_failure_messages = true
|
||||
config.raise_errors_for_deprecations!
|
||||
config.around :each, :with_retry do |example|
|
||||
example.run_with_retry retry: 2
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue