Sha256: 134048d8c04f0003894d1ee337636b55af02a543ccaa967ed2837beeac4d0d44

Contents?: true

Size: 860 Bytes

Versions: 9

Compression:

Stored size: 860 Bytes

Contents

I"P(function() {
  Ext.apply(window, {
    expectToSee: function(cmp) {
      if (Ext.isString(cmp)) {
        throw cmp + " not found";
      }
      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) {
      if (Ext.isString(cmp)) {
        throw cmp + " not found";
      }
      return expect(cmp.isDisabled()).to.be(true);
    },
    expectEnabled: function(cmp) {
      if (Ext.isString(cmp)) {
        throw cmp + " not found";
      }
      return expect(cmp.isDisabled()).to.be(false);
    },
    expectInvisibleBodyOf: function(cmp) {
      if (Ext.isString(cmp)) {
        throw cmp + " not found";
      }
      return expect(cmp.body.isVisible()).to.be(false);
    }
  });

}).call(this);
:ET

Version data entries

9 entries across 5 versions & 1 rubygems

Version Path
netzke-testing-6.5.0.0 spec/rails_app/tmp/cache/sprockets/v3.0/nONU3x7H75eQ2Xaw3GMC0pKEWPyMtRxMJ9Y-l0Ayq6M.cache
netzke-testing-6.5.0.0 spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/nONU3x7H75eQ2Xaw3GMC0pKEWPyMtRxMJ9Y-l0Ayq6M.cache
netzke-testing-6.5.0.0.rc1 spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/nONU3x7H75eQ2Xaw3GMC0pKEWPyMtRxMJ9Y-l0Ayq6M.cache
netzke-testing-6.5.0.0.rc1 spec/rails_app/tmp/cache/sprockets/v3.0/nONU3x7H75eQ2Xaw3GMC0pKEWPyMtRxMJ9Y-l0Ayq6M.cache
netzke-testing-1.0.1.0 spec/rails_app/tmp/cache/sprockets/v3.0/nONU3x7H75eQ2Xaw3GMC0pKEWPyMtRxMJ9Y-l0Ayq6M.cache
netzke-testing-1.0.1.0 spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/nONU3x7H75eQ2Xaw3GMC0pKEWPyMtRxMJ9Y-l0Ayq6M.cache
netzke-testing-1.0.0.0 spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/nONU3x7H75eQ2Xaw3GMC0pKEWPyMtRxMJ9Y-l0Ayq6M.cache
netzke-testing-1.0.0.0 spec/rails_app/tmp/cache/sprockets/v3.0/nONU3x7H75eQ2Xaw3GMC0pKEWPyMtRxMJ9Y-l0Ayq6M.cache
netzke-testing-1.0.0.0.pre spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/nONU3x7H75eQ2Xaw3GMC0pKEWPyMtRxMJ9Y-l0Ayq6M.cache