Sha256: bdbec84a917eb4b43fa74a15d963a714b63e81fdf40823fb9dd66f554fc6810b

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

describe "the #test element", ->
  it "can have content added in one test...", ->
    $('#test').append('<h1 id="added">New Stuff</h1>')
    $('#test h1#added').length.should.equal(1)

  it "... that is removed before the next starts", ->
    $('#test h1#added').length.should.equal(0)

  it "is visible", ->
    $('#test').is(':visible').should.be.true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
konacha-0.10.0 spec/dummy/spec/javascripts/test_element_spec.js.coffee
konacha-0.9.1 spec/dummy/spec/javascripts/test_element_spec.js.coffee