[rspec-users] rspec with CI

Brandon Keepers bkeepers at gmail.com
Wed Apr 18 15:09:51 EDT 2007

I am using rspec with Cerberus.  I don't remember if this was the  
result of the test/production environment with Cerberus or not, but I  
always set the RAILS_ENV at the top of my spec_helper:

ENV["RAILS_ENV"] = "test"


On Apr 16, 2007, at 10:23 PM, Alex Edwards wrote:

> I am a bit of a rails and rspec noob.
> I am trying to use rspec in conjunction with CruiseControlrb.
> When I run a cruise build having spec errors, the build does not
> indicate a failure.  I have tried to track down why this is the case,
> and my best guess is that the spec task is kicking off the spec via a
> ruby() method in rake, and that ruby method does not propagate my spec
> failure back to rake.
> Any help in setting this up would be much appreciated.
> Also, if there is a better alternative to cruisecontrolrb that
> integrates nicely with rspec, please let me know.
> Thanks
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list