#= require jquery
describe "the #konacha element", ->
it "can have content added in one test...", ->
$('#konacha').append('
New Stuff
')
$('#konacha h1#added').length.should.equal(1)
it "... that is removed before the next starts", ->
$('#konacha h1#added').length.should.equal(0)
it "can have an attribute added in one test...", ->
$('#konacha').addClass('test')
it "... that is removed before the next starts", ->
$('#konacha').hasClass('test').should.be.false;
it "is visible", ->
$('#konacha').is(':visible').should.be.true