mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Allow devs to opt out of test warnings
This commit is contained in:
parent
61412d80ca
commit
408daae045
3
Rakefile
3
Rakefile
@ -43,7 +43,8 @@ Rake::TestTask.new do |t|
|
||||
t.libs << 'test'
|
||||
t.libs << 'lib'
|
||||
t.test_files = FileList['test/**/*_test.rb']
|
||||
t.ruby_opts = ['-w -r./test/test_helper.rb']
|
||||
t.ruby_opts = ['-r./test/test_helper.rb']
|
||||
t.ruby_opts << ' -w' unless ENV['NO_WARN'] == 'true'
|
||||
t.verbose = true
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user