def test_scenarios_parsed_by_feature_has_feature():
 feature = Feature.from_string(FEATURE2)
 for scenario in feature.scenarios:
  assert_equals(scenario.feature, feature)

def test_scenarios_parsed_by_feature_has_feature ( ) : feature = Feature . from_string ( FEATURE2 ) for scenario in feature . scenarios : assert_equals ( scenario . feature , feature )
scenarios parsed by features has feature .