Sha256: 43650b78f3e061be7f3ddb7765e4bd672299665ca24b7fa47aeb225fda9705f4

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1355459012.6357498:@value"v{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"2012-12-13T21:23:24-07:00;FI"length;Fi–I"digest;F"%6779a6b0b7c7c3201734a10c56061429I"source;FI"–(function() {

  describe("Teabag", function() {
    describe("class level API", function() {
      return it("has the expected API", function() {
        return expect(Object.keys(Teabag)).toEqual(["defer", "slow", "fixturePath", "finished", "Reporters", "Date", "location", "execute", "Runner", "version"]);
      });
    });
    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"%a55d3277c3668fb9ddb4f31a72191c31I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
teabag-0.3.2 spec/dummy/tmp/cache/assets/D51/400/sprockets%2Ff5e433d8a31e80985b75ce598de236be
teabag-0.3.1 spec/dummy/tmp/cache/assets/D51/400/sprockets%2Ff5e433d8a31e80985b75ce598de236be
teabag-0.3.0 spec/dummy/tmp/cache/assets/D51/400/sprockets%2Ff5e433d8a31e80985b75ce598de236be