Sha256: 04b91eba3e32159d722de793ecf330862eed89d9584e7d85a4d075684af5bdde
Contents?: true
Size: 1.8 KB
Versions: 9
Compression:
Stored size: 1.8 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356156330.603348:@value"Ë{I" class:EFI"BundledAsset; FI"logical_path; FI",teabag/mocha/reporters/console_mspec.js; FI" pathname; FI"b/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/reporters/console_mspec.coffee; FI"content_type; FI"application/javascript; FI" mtime; FI"2012-12-21T23:05:29-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 & 1 rubygems