Sha256: 6084d6f82d6cc37a03f4834e1eec33a515ac22bdbf66e5c1bb6f1599d1ce2396
Contents?: true
Size: 444 Bytes
Versions: 5
Compression:
Stored size: 444 Bytes
Contents
class Teaspoon.Reporters.HTML.FailureView extends Teaspoon.Reporters.BaseView constructor: (@spec) -> super build: -> super("spec") html = """<h1 class="teaspoon-clearfix"><a href="#{@spec.link}">#{@spec.fullDescription}</a></h1>""" for error in @spec.errors() html += """<div><strong>#{@htmlSafe(error.message)}</strong><br/>#{@htmlSafe(error.stack || "Stack trace unavailable")}</div>""" @el.innerHTML = html
Version data entries
5 entries across 5 versions & 1 rubygems