method
scenario_from_current_story
1.1.4 -
Show latest stable
- Class:
Spec::Story::Runner::StoryRunner
scenario_from_current_story(scenario_name)public
No documentation available.
# File lib/spec/story/runner/story_runner.rb, line 64
def scenario_from_current_story(scenario_name)
@scenarios_by_story[@current_story.title].find {|s| s.name == scenario_name }
end