Sha256: 23079d414b923a8bbcde422d06c4bc60c436eeb8f05600fad8dda593088c0139
Contents?: true
Size: 1.98 KB
Versions: 1
Compression:
Stored size: 1.98 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356062002.15251:@value"{I" class:EFI"BundledAsset; FI"logical_path; FI"teabag/base/runner_spec.js; FI" pathname; FI"U/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/base/runner_spec.coffee; FI"content_type; FI"application/javascript; FI" mtime; FI"2012-12-10T22:33:28-07:00; FI"length; FiŸI"digest; F"%3b01611513f3333414bf72939399e0fdI"source; FI"Ÿ(function() { describe("Teabag.Runner", function() { beforeEach(function() { spyOn(jasmine.getEnv(), "execute"); Teabag.Runner.run = false; return this.setupSpy = spyOn(Teabag.Runner.prototype, "setup"); }); describe("constructor", function() { it("calls setup", function() { new Teabag.Runner(); return expect(this.setupSpy).toHaveBeenCalled(); }); it("sets Teabag.Runner.run to true", function() { new Teabag.Runner(); return expect(Teabag.Runner.run).toEqual(true); }); it("sets @fixturePath to whatever was in Teabag.fixturePath", function() { var runner; Teabag.fixturePath = "/path/to/fixtures"; runner = new Teabag.Runner(); return expect(runner.fixturePath).toEqual("/path/to/fixtures"); }); return it("doesn't call setup if already run", function() { Teabag.Runner.run = true; new Teabag.Runner(); return expect(this.setupSpy).wasNotCalled(); }); }); return describe("#getParams", function() { return it("gets the params out of the window.location.search", function() { var runner; spyOn(String.prototype, "substring").andReturn("grep=foo&bar=baz"); runner = new Teabag.Runner(); return expect(runner.params).toEqual({ grep: "foo", bar: "baz" }); }); }); }); }).call(this); ; FI"required_assets_digest; F"%a6a9beee765b8851903b3cc82d091b18I" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
teabag-0.3.5 | spec/dummy/tmp/cache/assets/D03/630/sprockets%2F5d8da32dba6a7be70426a1d554773701 |