{I" class:EFI"ProcessedAsset;FI"logical_path;FI"6teaspoon/base/reporters/html/failure_view_spec.js;FI" 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("_error_message_"); return expect(content).toContain("_error_stack_"); }); }); }); }).call(this); ;TI"dependency_digest;F"%d711a6179b7f8f788ff659557a75a49bI"required_paths;F[I"n/Users/jejacks0n/Projects/teaspoon/spec/javascripts/teaspoon/base/reporters/html/failure_view_spec.coffee;FI"dependency_paths;F[{I" path;FI"n/Users/jejacks0n/Projects/teaspoon/spec/javascripts/teaspoon/base/reporters/html/failure_view_spec.coffee;FI" mtime;FI"2013-06-16T11:48:01-06:00;FI" digest;F"%fe153ef8cb80fcb45b6fadfe69baee9eI" _version;F"%7097359102b3db973d6242ce2db779ef