Sha256: 05c48f74bf61bb97695d8b82b1806067dc98b84f4b8763720176c1e2afc7bcdc

Contents?: true

Size: 1.81 KB

Versions: 4

Compression:

Stored size: 1.81 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1371408371.345744:@value"×{I"
class:EFI"BundledAsset;FI"logical_path;FI".teaspoon/mocha/reporters/console_mspec.js;TI"
pathname;FI"f/Users/jejacks0n/Projects/teaspoon/spec/javascripts/teaspoon/mocha/reporters/console_mspec.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2013-06-16T11:48:01-06:00;FI"length;Fi×I"digest;F"%966b6c8cf8b0886f51b387dd51c2c7fcI"source;FI"×(function() {
  describe("Mocha Teaspoon.Reporters.Console", function() {
    beforeEach(function() {
      this.runner = {
        on: this.onSpy = sinon.spy()
      };
      this.reportRunnerStartingSpy = Teaspoon.Reporters.Console.prototype.reportRunnerStarting = sinon.spy();
      return this.reporter = new Teaspoon.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"%10363a875b2e1489f794ae82abccca76I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
teaspoon-0.7.7 spec/dummy/tmp/cache/assets/CFD/7A0/sprockets%2F8c36c7983c10b95f7894cfaf88e52823
teaspoon-0.7.6 spec/dummy/tmp/cache/assets/CFD/7A0/sprockets%2F8c36c7983c10b95f7894cfaf88e52823
teaspoon-0.7.5 spec/dummy/tmp/cache/assets/CFD/7A0/sprockets%2F8c36c7983c10b95f7894cfaf88e52823
teaspoon-0.7.4 spec/dummy/tmp/cache/assets/CFD/7A0/sprockets%2F8c36c7983c10b95f7894cfaf88e52823