Sha256: a24cc6f01b50ed717cada74fd125311492e0b32aa022b15a470015c917483b52
Contents?: true
Size: 591 Bytes
Versions: 4
Compression:
Stored size: 591 Bytes
Contents
Ext.apply window, (-> throwIfNotFound = (cmp) -> throw new Error(cmp + " not found") if Ext.isString(cmp) expectToSee: (cmp) -> throwIfNotFound(cmp) expect(Ext.isObject(cmp) || Ext.isElement(cmp)).to.be.ok() expectToNotSee: (el) -> expect(Ext.isString(el)).to.be.ok() expectDisabled: (cmp) -> throwIfNotFound(cmp) expect(cmp.isDisabled()).to.be(true) expectEnabled: (cmp) -> throwIfNotFound(cmp) expect(cmp.isDisabled()).to.be(false) expectInvisibleBodyOf: (cmp) -> throwIfNotFound(cmp) expect(cmp.body.isVisible()).to.be false )()
Version data entries
4 entries across 4 versions & 1 rubygems