Sha256: 9b8068f834ce675f3a2d907ddfb2659123f58500fa44540c941d1aa6fb9d9ef9
Contents?: true
Size: 1.8 KB
Versions: 9
Compression:
Stored size: 1.8 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1360902197.9527118:@value"Ë{I" class:EFI"BundledAsset; FI"logical_path; FI",teabag/mocha/reporters/console_mspec.js; TI" pathname; FI"b/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/reporters/console_mspec.coffee; FI"content_type; FI"application/javascript; FI" mtime; FI"2013-01-21T15:52:04-07:00; FI"length; FiÑI"digest; F"%4765ccc36e792dfc974d6b6513bd940aI"source; FI"Ñ(function() { describe("Mocha Teabag.Reporters.Console", function() { beforeEach(function() { this.runner = { on: this.onSpy = sinon.spy() }; this.reportRunnerStartingSpy = Teabag.Reporters.Console.prototype.reportRunnerStarting = sinon.spy(); return this.reporter = new Teabag.Reporters.Console(this.runner); }); describe("constructor", function() { it("calls reporterRunnerStarting", function() { return assert.calledOnce(this.reportRunnerStartingSpy, "foo"); }); return it("registers for 'fail', 'test end', and 'end'", function() { assert.calledWith(this.onSpy, "fail", this.reporter.reportSpecResults); assert.calledWith(this.onSpy, "test end", this.reporter.reportSpecResults); return assert.calledWith(this.onSpy, "end", this.reporter.reportRunnerResults); }); }); return describe("#reportSpecResults", function() { return it("sets the error if one is passed in", function() { var spec; spec = {}; this.reporter.reportSpecResults(spec, { foo: "bar" }); return expect(spec.err).to.eql({ foo: "bar" }); }); }); }); }).call(this); ; FI"required_assets_digest; F"%2bb95b7970b4d67cf80b6f92491375dbI" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
9 entries across 9 versions & 2 rubygems