Introduces next_rails

This commit is contained in:
Henne Vogelsang 2021-08-17 12:34:26 +02:00
parent 82b4871af1
commit 5cbd15eeef
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
7 changed files with 823 additions and 1 deletions

View file

@ -0,0 +1,11 @@
RSpec.configure do |config|
# Tracker deprecation messages in each file
if ENV['DEPRECATION_TRACKER']
DeprecationTracker.track_rspec(
config,
shitlist_path: 'spec/support/deprecation_shitlist.json',
mode: ENV['DEPRECATION_TRACKER'],
transform_message: ->(message) { message.gsub("#{Rails.root}/", '') }
)
end
end