Sha256: da1c20fac19da2b45a80ed223e12819a57fc8ee3e0f656847454152d709fdce4

Contents?: true

Size: 1.8 KB

Versions: 9

Compression:

Stored size: 1.8 KB

Contents

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

Version Path
teaspoon-0.7.7 spec/dummy/tmp/cache/assets/C78/EF0/sprockets%2F65f827a4a5337d05d037845161b41ab8
teaspoon-0.7.6 spec/dummy/tmp/cache/assets/C78/EF0/sprockets%2F65f827a4a5337d05d037845161b41ab8
teaspoon-0.7.5 spec/dummy/tmp/cache/assets/C78/EF0/sprockets%2F65f827a4a5337d05d037845161b41ab8
teaspoon-0.7.4 spec/dummy/tmp/cache/assets/C78/EF0/sprockets%2F65f827a4a5337d05d037845161b41ab8
teabag-0.7.3 spec/dummy/tmp/cache/assets/C78/EF0/sprockets%2F65f827a4a5337d05d037845161b41ab8
teabag-0.7.2 spec/dummy/tmp/cache/assets/C78/EF0/sprockets%2F65f827a4a5337d05d037845161b41ab8
teabag-0.7.1 spec/dummy/tmp/cache/assets/C78/EF0/sprockets%2F65f827a4a5337d05d037845161b41ab8
teabag-0.7.0 spec/dummy/tmp/cache/assets/C78/EF0/sprockets%2F65f827a4a5337d05d037845161b41ab8
teabag-0.6.0 spec/dummy/tmp/cache/assets/C78/EF0/sprockets%2F65f827a4a5337d05d037845161b41ab8