Sha256: 8798ba706280e837e5df81bd675cff6117908e83301edf9cabe3739317fdf716
Contents?: true
Size: 1.56 KB
Versions: 6
Compression:
Stored size: 1.56 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1355470759.57182:@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"2012-12-14T00:08:51-07:00; FI"length; FiÞI"digest; F"%ad01feba912a28d92a564b8c78e81320I"source; FI"Þ(function() { describe("Mocha Teabag.Reporters.Console", function() { beforeEach(function() { this.runner = { on: this.onSpy = sinon.spy() }; return this.reporter = new Teabag.Reporters.Console(this.runner); }); describe("constructor", function() { 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"%f72b0167f934c42fe459564bead80271I" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
6 entries across 6 versions & 1 rubygems