Sha256: 38b7b54f27937c7a0874d3085f11059634b236f9a6a8c1a3d33efdde8f7e7c9f
Contents?: true
Size: 1.8 KB
Versions: 6
Compression:
Stored size: 1.8 KB
Contents
{I" class:EFI"BundledAsset; FI"logical_path; FI"6teaspoon/base/reporters/html/failure_view_spec.js; TI" pathname; FI"n/Users/jejacks0n/Projects/teaspoon/spec/javascripts/teaspoon/base/reporters/html/failure_view_spec.coffee; FI"content_type; FI"application/javascript; FI" mtime; Fl+Qú½QI"length; Fi>I"digest; F"%e34f4679d9251ebaeb60b022876a4a08I"source; FI">(function() { describe("Teaspoon.Reporters.HTML.FailureView", function() { describe("constructor", function() { return it("assigns @spec", function() { var spec, subject; spec = { foo: "bar" }; spyOn(Teaspoon.Reporters.HTML.FailureView.prototype, 'build'); subject = new Teaspoon.Reporters.HTML.FailureView(spec); return expect(subject.spec).toBe(spec); }); }); return describe("#build", function() { beforeEach(function() { this.mockSpec = { link: "_link_", fullDescription: "_full_description_", errors: function() { return [ { message: "_error_message_", stack: "_error_stack_" } ]; } }; this.subject = new Teaspoon.Reporters.HTML.FailureView(this.mockSpec); return this.subject.build(); }); return it("builds the html", function() { var content; content = this.subject.el.innerHTML; expect(content).toContain('href="_link_"'); expect(content).toContain('_full_description_'); expect(content).toContain("<strong>_error_message_</strong>"); return expect(content).toContain("_error_stack_"); }); }); }); }).call(this); ; TI"required_assets_digest; F"%d711a6179b7f8f788ff659557a75a49bI" _version; F"%7097359102b3db973d6242ce2db779ef
Version data entries
6 entries across 3 versions & 1 rubygems