[rspec-users] Possible Problem with RSpec and

Stefan Magnus Landrø stefan.landro at gmail.com
Thu Nov 29 05:23:38 EST 2007

It seems like setting up expectations in before blocks, in combination with
a pending example, makes rake return non-0

We had code similar to this:

describe Model  do

before do

it "should whatever" do
  pending "whatever"


Removing the expectation from the before block, fixed our problem.


2007/11/28, David Chelimsky <dchelimsky at gmail.com>:
> On Nov 28, 2007 2:38 AM, Stefan Magnus Landrø <stefan.landro at gmail.com>
> wrote:
> > We saw some annoying behavior related to pending tests.
> Can you be more specific?
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

Bekk Open Source
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071129/82f88a2e/attachment.html 

More information about the rspec-users mailing list