Guard with RSpec on Rails 4 giving a lot of warnings

后端 未结 2 2026
盖世英雄少女心
盖世英雄少女心 2020-12-05 01:28

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         


        
2条回答
  •  甜味超标
    2020-12-05 02:10

    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.

提交回复
热议问题