Disable ruby interpreter warnings

This commit is contained in:
Jared Beck 2017-05-21 01:29:58 -04:00
parent fe860a31eb
commit 7541497684
2 changed files with 9 additions and 3 deletions

View File

@ -14,6 +14,11 @@ Rake::TestTask.new(:test) do |t|
t.libs << "test"
t.pattern = "test/**/*_test.rb"
t.verbose = false
# Enabling ruby interpreter warnings (-w) is, sadly, impractical. There are
# too many noisy warnings that we have no control over, e.g. caused by libs we
# depend on.
t.warning = false
end
require "rspec/core/rake_task"

View File

@ -66,9 +66,10 @@ RSpec.configure do |config|
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
# config.disable_monkey_patching!
# This setting enables warnings. It's recommended, but in some cases may
# be too noisy due to issues in dependencies.
# config.warnings = true
# Enabling ruby interpreter warnings (-w) is, sadly, impractical. There are
# too many noisy warnings that we have no control over, e.g. caused by libs we
# depend on.
config.warnings = false
# Many RSpec users commonly either run the entire suite or an individual
# file, and it's useful to allow more verbose output when running an