I\'m wondering how I can turn off all these warnings when running a simple test:
[1] guard(main)>
16:59:46 - INFO - Run all
16:59:46 - INFO - Running all
The rspec generator rails generate rspec:install
now puts the --warnings
option in the .rspec
file by default. Remove that line, and the warnings will go away.
You can set the warnings to false in the your test environment to force Rspec to disable the warnings messages.
# spec/spec_helper.rb
config.warnings = false