def test_steps_parsed_by_scenarios_has_scenarios():
 scenario = Scenario.from_string(SCENARIO1)
 for step in scenario.steps:
  assert_equals(step.scenario, scenario)

def test_steps_parsed_by_scenarios_has_scenarios ( ) : scenario = Scenario . from_string ( SCENARIO1 ) for step in scenario . steps : assert_equals ( step . scenario , scenario )
steps parsed by scenarios has scenarios .