Sha256: f6dd655e541d107b5f8b36fe649accafbd4b80652aa7513929e10533a5391326

Contents?: true

Size: 1.8 KB

Versions: 9

Compression:

Stored size: 1.8 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1351903076.680555:@value"Ê{I"
class:EFI"BundledAsset;FI"logical_path;FI"konacha/iframe.js;TI"
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"required_assets_digest;F"%9b42c6b9b54b4259308030e46f361ddaI"
_version;F"%9f3b95dd7ea3030dc35985c0a8020862

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
woople-theme-0.8.17 spec/dummy/tmp/cache/assets/D4C/3A0/sprockets%2Fee79e0f246e5f3292172e1f8bf3a990c
woople-theme-0.8.14 spec/dummy/tmp/cache/assets/D4C/3A0/sprockets%2Fee79e0f246e5f3292172e1f8bf3a990c
woople-theme-0.8.12 spec/dummy/tmp/cache/assets/D4C/3A0/sprockets%2Fee79e0f246e5f3292172e1f8bf3a990c
woople-theme-0.8.11 spec/dummy/tmp/cache/assets/D4C/3A0/sprockets%2Fee79e0f246e5f3292172e1f8bf3a990c
woople-theme-0.8.9 spec/dummy/tmp/cache/assets/D4C/3A0/sprockets%2Fee79e0f246e5f3292172e1f8bf3a990c
woople-theme-0.8.5 spec/dummy/tmp/cache/assets/D4C/3A0/sprockets%2Fee79e0f246e5f3292172e1f8bf3a990c
woople-theme-0.8.4 spec/dummy/tmp/cache/assets/D4C/3A0/sprockets%2Fee79e0f246e5f3292172e1f8bf3a990c
woople-theme-0.8.3 spec/dummy/tmp/cache/assets/D4C/3A0/sprockets%2Fee79e0f246e5f3292172e1f8bf3a990c
woople-theme-0.8.1 spec/dummy/tmp/cache/assets/D4C/3A0/sprockets%2Fee79e0f246e5f3292172e1f8bf3a990c