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