method
scenario_from_current_story
rspec 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 68
def scenario_from_current_story(scenario_name)
@scenarios_by_story[@current_story.title].find {|s| s.name == scenario_name }
end