method
scenario_ended
rspec latest stable - Class:
Spec::Runner::Formatter::Story::HtmlFormatter
scenario_ended()public
No documentation available.
# File lib/spec/runner/formatter/story/html_formatter.rb, line 105
def scenario_ended
if @scenario_failed
@story_text += "<dl class=\"failed\">\n"
else
@story_text += "<dl class=\"passed\">\n"
end
@story_text += "\#{@scenario_text}\n</ul>\n</dd>\n</dl>\n"
end