Sha256: 748c9eadb261d26cb0e46a3fb80cbfe13fa03a7f6e88520d01d66a80241e2008
Contents?: true
Size: 1.75 KB
Versions: 5
Compression:
Stored size: 1.75 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1371403723.5724852:@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-02-16T14:30:06-07:00; FI"length; Fi¹I"digest; F"%b5646711c7a9cd565e7dec001d7ae214I"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"); return expect(keys).toContain("location"); }); }); 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"%7328cbecd48231ba0a921ad7025f69eeI" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
5 entries across 5 versions & 2 rubygems