Sha256: 1931894d6f4656ab33017a29efcf49e2c71f77ab80388920a1357ea6f87a2e9d

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1355459012.6363971:@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/D35/7C0/sprockets%2Ff536a2606eaf7d542c0985104cb62baf
teabag-0.3.1 spec/dummy/tmp/cache/assets/D35/7C0/sprockets%2Ff536a2606eaf7d542c0985104cb62baf
teabag-0.3.0 spec/dummy/tmp/cache/assets/D35/7C0/sprockets%2Ff536a2606eaf7d542c0985104cb62baf