Sha256: 9e7f9c3f9047e56ad499fe0ec13819334551c3258be4a5315b83c6abf8a6ad85

Contents?: true

Size: 907 Bytes

Versions: 2

Compression:

Stored size: 907 Bytes

Contents

I"(function() {
  Ext.apply(window, (function() {
    var throwIfNotFound;
    throwIfNotFound = function(cmp) {
      if (Ext.isString(cmp)) {
        throw new Error(cmp + " not found");
      }
    };
    return {
      expectToSee: function(cmp) {
        throwIfNotFound(cmp);
        return expect(Ext.isObject(cmp) || Ext.isElement(cmp)).to.be.ok();
      },
      expectToNotSee: function(el) {
        return expect(Ext.isString(el)).to.be.ok();
      },
      expectDisabled: function(cmp) {
        throwIfNotFound(cmp);
        return expect(cmp.isDisabled()).to.be(true);
      },
      expectEnabled: function(cmp) {
        throwIfNotFound(cmp);
        return expect(cmp.isDisabled()).to.be(false);
      },
      expectInvisibleBodyOf: function(cmp) {
        throwIfNotFound(cmp);
        return expect(cmp.body.isVisible()).to.be(false);
      }
    };
  })());

}).call(this);
:ET

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netzke-testing-6.5.0.0 spec/rails_app/tmp/cache/assets/sprockets/v3.0/h2/h2GNJ1sSByIpuSPinpPHIouiJuz_NSZ6JS7l18p3qNo.cache
netzke-testing-6.5.0.0.rc1 spec/rails_app/tmp/cache/assets/sprockets/v3.0/h2/h2GNJ1sSByIpuSPinpPHIouiJuz_NSZ6JS7l18p3qNo.cache