mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Only capture stderr on Ruby 2.1 on CI
Always show warnings in tests
This commit is contained in:
@@ -49,6 +49,8 @@ end
|
||||
if ENV['CAPTURE_STDERR'] !~ /false|1/i
|
||||
require 'capture_warnings'
|
||||
CaptureWarnings.new(_fail_build = true).execute!
|
||||
else
|
||||
$VERBOSE = true
|
||||
end
|
||||
|
||||
require 'active_model_serializers'
|
||||
|
||||
Reference in New Issue
Block a user