def test_can_parse_background_and_ignore_tag():
 steps = Step.many_from_lines(BACKGROUND_WITH_TAGGED_SCENARIO.splitlines())
 steps_without_tags = filter((lambda x: (not (x.sentence == '@wip'))), steps)
 assert_equals(len(steps), len(steps_without_tags))

def test_can_parse_background_and_ignore_tag ( ) : steps = Step . many_from_lines ( BACKGROUND_WITH_TAGGED_SCENARIO . splitlines ( ) ) steps_without_tags = filter ( ( lambda x : ( not ( x . sentence == '@wip' ) ) ) , steps ) assert_equals ( len ( steps ) , len ( steps_without_tags ) )
it should correctly parse and ignore tags between the background and first step .