Displaying 4 results from an estimated 4 matches for "store_and_call".
2007 Nov 13
3
Story problem if parenthesis used in Given, When, Then or And
...t; do
end
Then "The error occurred while evaluating nil.perform " do
end
end
end
This fails with the following:
The error occurred while evaluating nil.perform
/cygdrive/c/development/sandbox/prototypes/proj/config/../vendor/plugins/rspec/lib/spec/story/world.rb:
60:in `store_and_call''
/cygdrive/c/development/sandbox/prototypes/proj/config/../vendor/plugins/rspec/lib/spec/story/world.rb:
92:in `Given''
stories/parenthesis_error_story.rb:10
Looks like the problem is in the Step#matches? method
since
"abc (re) def".match /abc (re) def/
returns nil...
2007 Sep 14
2
Mocks in StoryRunner
...v/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/simple_step.rb:13:in
`__send__''
/home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/simple_step.rb:13:in
`perform''
/home/jhughes/dev/rj/csite/config/../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/csit...
2007 Sep 19
1
Strange error in StoryRunner (was: Mocks in StoryRunner)
.../story/simple_step.rb:13:in
> > `__send__''
> > /home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/simple_step.rb:13:in
> > `perform''
> > /home/jhughes/dev/rj/csite/config/../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
> >...
2007 Oct 16
6
RailsStory runner - empty response
...ndor/plugins/rspec/lib/spec/story/simple_step.rb:13:in
`__send__''
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/simple_step.rb:13:in
`perform''
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/world.rb:58: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...