Sha256: 75def9ddb0020d284892ba322e1f22359606fa68b7ea8a769dd242e5ed81bb3e
Contents?: true
Size: 1.53 KB
Versions: 6
Compression:
Stored size: 1.53 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1355382894.252363:@value"¹{I" class:EFI"BundledAsset; FI"logical_path; FI"%teabag/mocha/runner_mspec.coffee; FI" pathname; FI"W/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/runner_mspec.coffee; FI"content_type; FI"application/javascript; FI" mtime; FI"2012-12-13T00:08:39-07:00; FI"length; FiÑI"digest; F"%bf70ae3ba5712d6770c4eaadc8d5d9f4I"source; FI"Ñ(function() { describe("Mocha Teabag.Runner", function() { beforeEach(function() { this.runSpy = mocha.run = sinon.spy(); return this.runner = new Teabag.Runner(); }); describe("constructor", function() { return it("calls run on the mocha env", function() { this.runner.setup = sinon.stub(); return assert.calledOnce(this.runSpy); }); }); return describe("#setup", function() { return it("adds the reporter to the env", function() { var spy; spy = mocha.setup = sinon.spy(); this.runner.params = { grep: "foo" }; this.runner.setup(); if (navigator.userAgent.match(/PhantomJS/)) { return assert.calledOnce(spy, { reporter: Teabag.Reporters.Console }); } else { return assert.calledOnce(spy, { reporter: Teabag.Reporters.HTML }); } }); }); }); }).call(this); ; FI"required_assets_digest; F"%9600a9a89f89623dd2929e8d809061f6I" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
6 entries across 6 versions & 1 rubygems