o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1355382894.253231: @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