class Spec::Runner::Formatter::Story::PlainTextFormatter
def scenario_ended
def scenario_ended if @scenario_failed @story_body_text += red(@scenario_head_text) elsif @scenario_pending @story_body_text += yellow(@scenario_head_text) else @story_body_text += green(@scenario_head_text) end @story_body_text += @scenario_body_text end