o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1351903076.673995: @value"G{I" class:EFI"ProcessedAsset;FI"logical_path;FI"konacha/iframe.js;FI" pathname;FI"r/Users/adamdoeler/.rvm/gems/ruby-1.9.3-p194/gems/konacha-2.0.0.beta3/app/assets/javascripts/konacha/iframe.js;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-10-18T14:39:51-04:00;FI" length;FiÖI" digest;F"%cdf9165d0927f9959f8082b2e2c7bf93I" 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); // 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"dependency_digest;F"%9b42c6b9b54b4259308030e46f361ddaI"required_paths;F[I"r/Users/adamdoeler/.rvm/gems/ruby-1.9.3-p194/gems/konacha-2.0.0.beta3/app/assets/javascripts/konacha/iframe.js;FI"dependency_paths;F[{I" path;FI"r/Users/adamdoeler/.rvm/gems/ruby-1.9.3-p194/gems/konacha-2.0.0.beta3/app/assets/javascripts/konacha/iframe.js;FI" mtime;FI"2012-10-18T14:39:51-04:00;FI" digest;F"%cdf9165d0927f9959f8082b2e2c7bf93I" _version;F"%9f3b95dd7ea3030dc35985c0a8020862