[rspec-users] [UNSOLVED] Possible Problem with RSpec

James B. Byrne byrnejb at harte-lyne.ca
Sat Nov 24 23:24:25 EST 2007

On Sat, November 24, 2007 23:15, James B. Byrne wrote:

> I do not care about the presence or absence of a trace. What I want to
> know is why I get a rake failure if one of the specs fail. Surely a
> specification failure is an expected outcome for at last some of the
> trials.  RSpec should just report that fact and let rake exit cleanly.  I
> ran the previous trial with --trace just to avoid having someone write
> "please provide a trace".

Anyhow, This is the code that is causing rake to whine at me. So where
does fail_on_error get set?  Is this a configurable option?

171  unless system(cmd)
172    STDERR.puts failure_message if failure_message
173    raise("Command #{cmd} failed") if fail_on_error
174  end

***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

More information about the rspec-users mailing list