[rspec-users] rspec and capistrano
mailing_lists at railsnewbie.com
Fri Oct 26 16:36:57 EDT 2007
On Oct 26, 2007, at 11:50 AM, Pat Maddox wrote:
> On 10/26/07, Jonathan Linowes <jonathan at parkerhill.com> wrote:
>> 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.
>> rspec-users mailing list
>> rspec-users at rubyforge.org
> 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.
I'd be interested if anyone has a snippet to automatically deploy to
a staging server if the specs pass...
More information about the rspec-users