diff --git a/Rakefile b/Rakefile index e256dd34..e94bde7b 100644 --- a/Rakefile +++ b/Rakefile @@ -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" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 94a5cf40..69d01716 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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