method
story_ended
1.1.12 -
Show latest stable
- Class:
Spec::Runner::Formatter::Story::HtmlFormatter
story_ended(title, narrative)public
No documentation available.
# File lib/spec/runner/formatter/story/html_formatter.rb, line 74
def story_ended(title, narrative)
if @story_failed
@output.puts "<dl class=\"story failed\">\n"
else
@output.puts "<dl class=\"story passed\">\n"
end
@output.puts "\#{@story_text}\n</dd>\n</dl>\n"
end