[rspec-users] Hiding the passes

Pat Maddox pergesu at gmail.com
Wed May 7 21:01:47 EDT 2008

On Wed, May 7, 2008 at 4:18 PM, Oliver Saunders <lists at ruby-forum.com> wrote:
> How do you hide all the green passing examples from the output?
>  I don't need to know what has passed and it means I have to scroll to
>  see what has failed.

Hey Oliver,

You can write a custom formatter that implements #example_passed as a noop:

class HalfEmptyFormatter < Spec::Runner::Formatter::ProgressBarFormatter
  def example_passed; end

More information about the rspec-users mailing list