On Tue, Feb 26, 2008 at 11:29 PM, Chad Woolley <[EMAIL PROTECTED]>
wrote:

> On Tue, Feb 26, 2008 at 11:15 PM, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Finished in 6.445108 seconds
> >
> > 450 examples, 2 failures, 91 pending
> > rake aborted!
> >
> > yet, cruisecontrolrb still reports success.
> >
> >
> > any ideas?
>
> Look closely at the return code of your rake tasks, or however you
> invoke your tests/specs.  Try running them manually, outside of
> cruise, and inspect the return code ($?).  See if you can track down
> the false positive return code.
>
> -- Chad



I think i figured it out. seems I should be using

Rake::Task["spec"].invoke

as opposed to

system "rake spec"

found my answer here:
http://railsbros.de/2007/11/19/rake-code-cruise-code-task

David.




>
> _______________________________________________
> Cruisecontrolrb-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to