Backslash in story runner scenario

Hi,

If a backslash is put into a story runner scenario

Scenario: Message is sent
Given an order has been created
When I goto the purchased screen
And something with a \ breaks it

then this exception is created

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/world.rb:63:in
store_and_call': undefined methodname’ for nil:NilClass
(NoMethodError)

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/world.rb:110:in
`When’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_mediator.rb:115:in
`send’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_mediator.rb:115:in
`to_proc’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_mediator.rb:95:in
`instance_eval’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_mediator.rb:95:in
`to_proc’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_mediator.rb:95:in
`each’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_mediator.rb:95:in
`to_proc’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/scenario_runner.rb:20:in
`instance_eval’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/scenario_runner.rb:20:in
`run’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_runner.rb:49:in
`run_stories’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_runner.rb:45:in
`each’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_runner.rb:45:in
`run_stories’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_runner.rb:40:in
`each’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner/story_runner.rb:40:in
`run_stories’

    from 

c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec/story/runner.rb:49:in
`register_exit_hook’

Aidy

Please post bugs to http://rspec.lighthouseapp.com.

Thanks,
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