class Teaspoon.Reporters.HTML.FailureView extends Teaspoon.Reporters.BaseView constructor: (@spec) -> super build: -> super("spec") html = """

#{@htmlSafe(@spec.fullDescription)}

""" for error in @spec.errors() html += """
#{@htmlSafe(error.message)}
#{@htmlSafe(error.stack || "Stack trace unavailable")}
""" @el.innerHTML = html