Sha256: 7a80da96691242d21e677d846e801790ee9c0fd9a3ad1c6c861f4f3cc02e1e3c

Contents?: true

Size: 1.69 KB

Versions: 6

Compression:

Stored size: 1.69 KB

Contents

{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;Fl+Q��QI"length;Fi�I"digest;F"%7232b3bc4aedfa81dd047d22ddf4aa37I"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);
;TI"required_assets_digest;F"%f919d52e6d5303495e7327b1a8bf871fI"
_version;F"%7097359102b3db973d6242ce2db779ef

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
teaspoon-0.7.7 spec/dummy/tmp/cache/assets/development/sprockets/7f99f1d8931e19608c655a6d54ecebde
teaspoon-0.7.7 spec/dummy/tmp/cache/assets/development/sprockets/8c36c7983c10b95f7894cfaf88e52823
teaspoon-0.7.6 spec/dummy/tmp/cache/assets/development/sprockets/7f99f1d8931e19608c655a6d54ecebde
teaspoon-0.7.6 spec/dummy/tmp/cache/assets/development/sprockets/8c36c7983c10b95f7894cfaf88e52823
teaspoon-0.7.5 spec/dummy/tmp/cache/assets/development/sprockets/7f99f1d8931e19608c655a6d54ecebde
teaspoon-0.7.5 spec/dummy/tmp/cache/assets/development/sprockets/8c36c7983c10b95f7894cfaf88e52823