Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to suppress RSpec output "Run options: include {:focus=>true}"?

Tags:

rspec

Every time the specs run, RSpec prints Run options: include {:focus=>true}.

I already know what the run options are, so is there a way to suppress this output?

like image 1000
B Seven Avatar asked Dec 30 '14 00:12

B Seven


1 Answers

There is now an option for silencing those filter messages if you set config.silence_filter_announcements = true like this:

RSpec.configure do |c|
  c.filter_run_including :foo => :bar
  c.silence_filter_announcements = true
end   
like image 107
draffensperger Avatar answered Nov 04 '22 01:11

draffensperger