method

scenario_ended

rspec latest stable - Class: Spec::Runner::Formatter::Story::HtmlFormatter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

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