Sha256: 02865c7d412d97f68353b3da727b425daf574fc4f54d65f5647d09b59eb57a8c

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

Ext.apply window,
  expectToSee: (el) ->
    expect(Ext.isObject(el) || Ext.isElement(el)).to.be.ok()

  expectToNotSee: (el) ->
    expect(Ext.isString(el)).to.be.ok()

  expectDisabled: (cmp) ->
    throw cmp + " not found" if Ext.isString(cmp)
    expect(cmp.isDisabled()).to.be(true)

  expectInvisibleBodyOf: (cmp) ->
    throw cmp + " not found" if Ext.isString(cmp)
    expect(cmp.body.isVisible()).to.be false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netzke-testing-0.9.1 app/assets/javascripts/netzke/testing/helpers/expectations.js.coffee
netzke-testing-0.9.0 app/assets/javascripts/netzke/testing/helpers/expectations.js.coffee