Suppress Ruby warnings when running specs

前端 未结 10 2273
野趣味
野趣味 2020-11-27 14:46

I\'m looking for a way to suppress Ruby warnings when I run my specs.

spec spec/models/account_spec.rb

I receive warnings such as:

10条回答
  •  广开言路
    2020-11-27 15:21

    If you have this in your .rspec file, remove

    --warnings
    

    from your .rspec file in your project root.

提交回复
热议问题