Sha256: f655dadd1bd5e222f0d460d46671d3abf0d5f1618c00f83d1ef8f4560bdc5fba

Contents?: true

Size: 1.9 KB

Versions: 6

Compression:

Stored size: 1.9 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1355470759.568546:@value"5{I"
class:EFI"ProcessedAsset;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-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);
;TI"dependency_digest;F"%f72b0167f934c42fe459564bead80271I"required_paths;F[I"b/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/reporters/console_mspec.coffee;FI"dependency_paths;F[{I"	path;FI"b/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/mocha/reporters/console_mspec.coffee;FI"
mtime;FI"2012-12-14T00:08:51-07:00;FI"digest;F"%afa3aebfd82fd121c74f45f1685e970dI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teabag-0.3.5 spec/dummy/tmp/cache/assets/D71/A70/sprockets%2F4f10f5dd56c8a3ff78c460bbe3723a39
teabag-0.3.4 spec/dummy/tmp/cache/assets/D71/A70/sprockets%2F4f10f5dd56c8a3ff78c460bbe3723a39
teabag-0.3.3 spec/dummy/tmp/cache/assets/D71/A70/sprockets%2F4f10f5dd56c8a3ff78c460bbe3723a39
teabag-0.3.2 spec/dummy/tmp/cache/assets/D71/A70/sprockets%2F4f10f5dd56c8a3ff78c460bbe3723a39
teabag-0.3.1 spec/dummy/tmp/cache/assets/D71/A70/sprockets%2F4f10f5dd56c8a3ff78c460bbe3723a39
teabag-0.3.0 spec/dummy/tmp/cache/assets/D71/A70/sprockets%2F4f10f5dd56c8a3ff78c460bbe3723a39