method
scenario_from_current_story
1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Story::Runner::StoryRunner
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
scenario_from_current_story(scenario_name)
public
Hide source
# 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