o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357227532.4639082: @value"{I" class:EFI"BundledAsset;FI"logical_path;FI"konacha/iframe.js;TI" pathname;FI"y/Users/adamdoeler/.rvm/gems/ruby-1.9.3-p327@woople-theme/gems/konacha-2.1.0/app/assets/javascripts/konacha/iframe.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-01-03T10:37:52-05:00;FI" length;FiI" digest;F"%d28f3fdc71609f237db1f923583f6d3bI" source;FI"window.Konacha = { reset: function() { document.body = document.createElement('body'); document.body.id = 'konacha'; } }; window.Mocha = Object.create(parent.Mocha); window.mocha = Object.create(parent.mocha); // In order to isolate top-level before/beforeEach hooks, // the specs in each iframe are wrapped in an anonymous suite. mocha.suite = Mocha.Suite.create(mocha.suite); mocha.suite.path = document.documentElement.getAttribute("data-path"); // Override mocha.ui so that the pre-require event is emitted // with the iframe's `window` reference, rather than the parent's. mocha.ui = function (name) { this._ui = Mocha.interfaces[name]; if (!this._ui) throw new Error('invalid interface "' + name + '"'); this._ui = this._ui(this.suite); this.suite.emit('pre-require', window, null, this); return this; }; mocha.ui('bdd'); mocha.suite.beforeAll(function () { var contexts = parent.document.getElementsByClassName("test-context"); for (var i = 0; i < contexts.length; ++i) { if (contexts[i].contentWindow == window) { contexts[i].style.display = "block"; } else { contexts[i].style.display = null; } } }); mocha.suite.beforeEach(function () { Konacha.reset(); }); var expect = chai.expect, should = chai.should(), assert = chai.assert; ;FI"required_assets_digest;F"%5adca8273deb89f3cb31c9d5ccac6533I" _version;F"%6776f581a4329e299531e1d52aa59832