Sha256: 87738d2cdcb0d6a77e6c2f968ab31e59014ff3ba53a6294bb47c6eb7efcbfe10

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1356643581.1028638:@value"Š{I"
class:EFI"BundledAsset;FI"logical_path;FI"teabag/base/teabag_spec.js;FI"
pathname;FI"U/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/base/teabag_spec.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2012-12-26T15:38:00-07:00;FI"length;FiªI"digest;F"%81bb535f91fde30c327f8df6e831e46aI"source;FI"ª(function() {

  describe("Teabag", function() {
    describe("class level API", function() {
      return it("has the expected API", function() {
        var keys;
        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"%c73affa032269cef6dee689b0974aa4dI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
teabag-0.4.2 spec/dummy/tmp/cache/assets/D35/7C0/sprockets%2Ff536a2606eaf7d542c0985104cb62baf