« Return to Thread: drbspec - "no server running"

Re: On debugging rspec; running all specs under multiple directories

by Jerry West :: Rate this Message:

Reply to Author | View in Thread


> One thing I would like to do is run all of the specs in the rspec  
> library to see if they are passing. - the ones that fail will  
> probably point to the culprit.  How can I run all of the specs under  
> one directory, if the specs are under subdirectories?  This maybe  
> more of a unix question then an rspec one...

Well, for the 0.7.5.1 plugin

cd $RAILSDIR; spec -cfs vendor/plugins/rspec_on_rails/spec/


I imagine the filesystem layout is the same for 0.8/trunk(?).

Ironically, you can't run many of the 0.7.5.1 specs under 0.7.5.1 as
they use the latest 'should' syntax available only with 0.8RC1/trunk.

Hope this helps,
   Jerry

_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users

 « Return to Thread: drbspec - "no server running"