Sha256: 69aa6ca1c850311e20ad4ab7978ceece345b458715a6b0fe5ea46799514b3857

Contents?: true

Size: 1.79 KB

Versions: 4

Compression:

Stored size: 1.79 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1358449145.3792589:@value"Â{I"
class:EFI"BundledAsset;FI"logical_path;FI"teabag/base/teabag_spec.js;TI"
pathname;FI"U/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/base/teabag_spec.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2013-01-01T20:39:08-07:00;FI"length;FiâI"digest;F"%5bc5b20aa4f72d38769f317556907d37I"source;FI"â(function() {

  describe("Teabag", function() {
    describe("class level API", function() {
      return it("has the expected API", function() {
        var keys;
        if (!Object.keys) {
          return;
        }
        keys = Object.keys(Teabag);
        expect(keys).toContain("defer");
        expect(keys).toContain("slow");
        expect(keys).toContain("root");
        expect(keys).toContain("finished");
        expect(keys).toContain("execute");
        expect(keys).toContain("version");
        expect(keys).toContain("Date");
        expect(keys).toContain("location");
        return expect(keys).toContain("console");
      });
    });
    return describe(".execute", function() {
      beforeEach(function() {
        return Teabag.defer = false;
      });
      it("allows defering (thus not instantiating the runner)", function() {
        var spy;
        Teabag.defer = true;
        spy = spyOn(Teabag, "Runner");
        Teabag.execute();
        return expect(spy).wasNotCalled();
      });
      return it("will execute if it should", function() {
        var spy;
        spy = spyOn(Teabag, "Runner");
        Teabag.execute();
        return expect(spy).toHaveBeenCalled();
      });
    });
  });

}).call(this);
;FI"required_assets_digest;F"%d04f9982e263619631e55f2f55f0446eI"
_version;F"%ffd318ca8b794f42f5029101c2cf5d91

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
guard-teaspoon-0.0.4 spec/dummy/tmp/cache/assets/D35/7C0/sprockets%2Ff536a2606eaf7d542c0985104cb62baf
guard-teaspoon-0.0.3 spec/dummy/tmp/cache/assets/D35/7C0/sprockets%2Ff536a2606eaf7d542c0985104cb62baf
guard-teabag-0.0.2 spec/dummy/tmp/cache/assets/D35/7C0/sprockets%2Ff536a2606eaf7d542c0985104cb62baf
guard-teabag-0.0.1 spec/dummy/tmp/cache/assets/D35/7C0/sprockets%2Ff536a2606eaf7d542c0985104cb62baf