def test_undefined_step_represent_string():
 feature_file = ojoin('runner_features', 'first.feature')
 feature = Feature.from_file(feature_file)
 step = feature.scenarios[0].steps[0]
 assert_equals(step.represent_string(step.sentence), '    Given I do nothing                   # tests/functional/output_features/runner_features/first.feature:7\n')
 assert_equals(step.represent_string('foo bar'), '    foo bar                              # tests/functional/output_features/runner_features/first.feature:7\n')

def test_undefined_step_represent_string ( ) : feature_file = ojoin ( 'runner_features' , 'first.feature' ) feature = Feature . from_file ( feature_file ) step = feature . scenarios [ 0 ] . steps [ 0 ] assert_equals ( step . represent_string ( step . sentence ) , '    Given I do nothing                   # tests/functional/output_features/runner_features/first.feature:7\n' ) assert_equals ( step . represent_string ( 'foo bar' ) , '    foo bar                              # tests/functional/output_features/runner_features/first.feature:7\n' )
undefined step represented without colors .