Sha256: 992ca7d2b9c8eb7b56507b02dbcbc092c2550bfd876e8fab40273be91ca65ca4

Contents?: true

Size: 1.8 KB

Versions: 8

Compression:

Stored size: 1.8 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1357882151.641484:@value"Ë{I"
class:EFI"BundledAsset;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-22T12:48:32-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

8 entries across 8 versions & 3 rubygems

Version Path
guard-teaspoon-0.0.4 spec/dummy/tmp/cache/assets/DB5/860/sprockets%2Facf25fab3016425a0e03c9d190fd4eac
guard-teaspoon-0.0.3 spec/dummy/tmp/cache/assets/DB5/860/sprockets%2Facf25fab3016425a0e03c9d190fd4eac
guard-teabag-0.0.2 spec/dummy/tmp/cache/assets/DB5/860/sprockets%2Facf25fab3016425a0e03c9d190fd4eac
teabag-0.5.4 spec/dummy/tmp/cache/assets/DB5/860/sprockets%2Facf25fab3016425a0e03c9d190fd4eac
guard-teabag-0.0.1 spec/dummy/tmp/cache/assets/DB5/860/sprockets%2Facf25fab3016425a0e03c9d190fd4eac
teabag-0.5.3 spec/dummy/tmp/cache/assets/DB5/860/sprockets%2Facf25fab3016425a0e03c9d190fd4eac
teabag-0.5.2 spec/dummy/tmp/cache/assets/DB5/860/sprockets%2Facf25fab3016425a0e03c9d190fd4eac
teabag-0.5.1 spec/dummy/tmp/cache/assets/DB5/860/sprockets%2Facf25fab3016425a0e03c9d190fd4eac