[rspec-users] rspec with CI

Brandon Keepers
2007-04-18T19:09:51Z

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"

Brandon

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