Story steps all became "PENDING" in the update from RSpec 1.1.3 to 1.1.4

Hi all,

I had some stories which worked fine under RSpec 1.1.3 which are
broken under 1.1.4 (suddenly all steps are marked as PENDING, and one
of the steps raises a NoMethodError due to an unexpected nil object in
the store_and_call method of rspec/lib/spec/story/world.rb).

Here is the output under 1.1.3:

http://pastie.org/269529

And the output under 1.1.4:

http://pastie.org/269531

The actual story file is:

http://pastie.org/269534

Any suggestions for how I could troubleshoot this further? I looked at
the 1.1.4 changelog but I can’t see anything in there which would
explain this change…

Cheers,
Wincent

On Wed, Sep 10, 2008 at 3:06 AM, Wincent C. [email protected]
wrote:

change…
To just get it to work, change this:

}, :type => RailsStory, :steps => steps do

to this:

}, :type => RailsStory, :steps_for => steps do

Take a look at http://pastie.org/269645 for a few more changes.

Cheers,
David

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs