[rspec-users] rspec and capistrano

Pat Maddox pergesu at gmail.com
Fri Oct 26 11:50:14 EDT 2007


On 10/26/07, Jonathan Linowes <jonathan at parkerhill.com> wrote:
> Hi,
> has anyone here written a capistrano task for rspec to run through my
> specs on the deployed server? I'd appreciate a snippet or two to get
> me started.
> Thx
> linoj
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>

Should be as easy as checking out the code, cd'ing to the dir and
running "rake spec RAILS_ENV=testing"

Also you might want to look into cruisecontrol.rb which is a nice
continuous integration server.  It runs your full suite whenever you
commit code.

Pat


More information about the rspec-users mailing list