Sha256: 8bddb7202c9c8af76ba92b82b3d8a292dfd9545fde90ca4c56ff8d4f9a697dc5

Contents?: true

Size: 1.79 KB

Versions: 9

Compression:

Stored size: 1.79 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1350057115.276473:@value"À{I"
class:EFI"BundledAsset;FI"logical_path;FI"konacha/iframe.js;TI"
pathname;F"m/Users/mundane/.rvm/gems/ruby-1.9.3-p0/gems/konacha-2.0.0.beta3/app/assets/javascripts/konacha/iframe.jsI"content_type;FI"application/javascript;FI"
mtime;FI"2012-10-11T20:03:27-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"required_assets_digest;F"%9b42c6b9b54b4259308030e46f361ddaI"
_version;F"%9f3b95dd7ea3030dc35985c0a8020862

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
woople-theme-0.8.16 spec/dummy/tmp/cache/assets/D32/500/sprockets%2Fec4e100a3d4a2a5b69279a0c60e5929d
woople-theme-0.8.15 spec/dummy/tmp/cache/assets/D32/500/sprockets%2Fec4e100a3d4a2a5b69279a0c60e5929d
woople-theme-0.8.10 spec/dummy/tmp/cache/assets/D32/500/sprockets%2Fec4e100a3d4a2a5b69279a0c60e5929d
woople-theme-0.8.8 spec/dummy/tmp/cache/assets/D32/500/sprockets%2Fec4e100a3d4a2a5b69279a0c60e5929d
woople-theme-0.8.6 spec/dummy/tmp/cache/assets/D32/500/sprockets%2Fec4e100a3d4a2a5b69279a0c60e5929d
woople-theme-0.8.2 spec/dummy/tmp/cache/assets/D32/500/sprockets%2Fec4e100a3d4a2a5b69279a0c60e5929d
woople-theme-0.8.0 spec/dummy/tmp/cache/assets/D32/500/sprockets%2Fec4e100a3d4a2a5b69279a0c60e5929d
woople-theme-0.6.17 spec/dummy/tmp/cache/assets/D32/500/sprockets%2Fec4e100a3d4a2a5b69279a0c60e5929d
woople-theme-0.6.13 spec/dummy/tmp/cache/assets/D32/500/sprockets%2Fec4e100a3d4a2a5b69279a0c60e5929d