Displaying 4 results from an estimated 4 matches for "scenario_runner".
2007 Sep 14
2
Mocks in StoryRunner
...onfig/../vendor/plugins/rspec/lib/spec/story/world.rb:58:in
`store_and_call''
/home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/world.rb:68:in
`Given''
stories/use_case_story.rb:36
/home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb:13:in
`instance_eval''
/home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb:13:in
`run''
/home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:48:in
`run_stories''
/home/jhughes/dev/rj...
2007 Sep 19
1
Strange error in StoryRunner (was: Mocks in StoryRunner)
....rb:58:in
> > `store_and_call''
> > /home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/world.rb:68:in
> > `Given''
> > stories/use_case_story.rb:36
> > /home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb:13:in
> > `instance_eval''
> > /home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb:13:in
> > `run''
> > /home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:48:in
>...
2008 May 08
7
Rspec Stories / Selenium Nightmare
...them all
for the others stories.
*Code Extract*
def story_ended(title, narrative)
  case title
  when ''Edit a page''
    #We have finished the selenium story
    $selenium_driver.stop
    #Do we need to re-add some listeners
    if !@listener_reloaded
      Spec::Story::Runner.scenario_runner.add_listener(ActiveRecordSafetyListener.instance)
        @listener_reloaded=true
    end
  end
end
I had to duplicate a lot of the story steps since now any previous
post/gets did not work since they post to the test instance and not the
selenium rails instance.
I also needed to invoke against...
2007 Oct 16
6
RailsStory runner - empty response
...8:in 
`store_and_call''
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/world.rb:78:in 
`Then''
/Users/alvin/workspace/rspec-stories/stories/first_story.rb:15
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb:14:in 
`instance_eval''
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb:14:in 
`run''
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:48:in 
`run_stories'...