[rspec-users] spec.opts: questions about formatters, etc.

Chad Humphries chad at spicycode.com
Mon Mar 19 12:19:02 EDT 2007


I use -cfs in my spec.opts (when does the same as --colour -f s) and
it works great.  I'm not sure about the single/multi-line bits though.


On 3/19/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
> Questions concerning spec.opts:
> 1.  Am I correct in believing that each option should go on a
> separate line of spec.opts in the rails spec directory?  If this is
> so, why is it so?
> 2.  Using a formatter in spec.opts doesn't seem to work.  Here is my
> spec.opts file:
> --colour
> -f s
> and this is what happens when I run the rake task:
> Couldn't find formatter class  s
> Make sure the --require option is specified *before* --format
> Scott Taylor
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list