Re: [rspec-users] Can you use RSpec to test initializers?

2008-05-07 Thread Zach Dennis
On Tue, May 6, 2008 at 4:03 PM, Erik Pukinskis [EMAIL PROTECTED] wrote: Hi there! I'm trying to spec out some code that will set the smtp_settings in a custom ActiveMailer object. Basically I want to check that if my configuration object has the right smtp_server, that the ActiveMailer

[rspec-users] Hiding the passes

2008-05-07 Thread Oliver Saunders
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. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org

Re: [rspec-users] Hiding the passes

2008-05-07 Thread Steve Downey
I assume you are running with '-f s' switch? Maybe its in your spec.opts file ... maybe as --format progress? If you change that to '-f p' you only see progress as a single '.' for each passing test with errors at the end of the output. Or maybe I'm not understanding the question. On Wed, May

Re: [rspec-users] Hiding the passes

2008-05-07 Thread Pat Maddox
On Wed, May 7, 2008 at 4:18 PM, Oliver Saunders [EMAIL PROTECTED] 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

Re: [rspec-users] Hiding the passes

2008-05-07 Thread Ben Mabey
Steve Downey wrote: I assume you are running with '-f s' switch? Maybe its in your spec.opts file ... maybe as --format progress? If you change that to '-f p' you only see progress as a single '.' for each passing test with errors at the end of the output. Or maybe I'm not understanding