Introduces next_rails
This commit is contained in:
parent
82b4871af1
commit
5cbd15eeef
7 changed files with 823 additions and 1 deletions
11
spec/support/deprecation_shitlist.rb
Normal file
11
spec/support/deprecation_shitlist.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue