Sha256: 53f895610a5ec28ec0279f1847d4371374d1d58fe83dbe9c9deeb963bc692945
Contents?: true
Size: 761 Bytes
Versions: 8
Compression:
Stored size: 761 Bytes
Contents
#= require jquery describe "the #konacha element", -> it "can have content added in one test...", -> $('#konacha').append('<h1 id="added">New Stuff</h1>') $('#konacha h1#added').length.should.equal(1) it "... that is removed before the next one 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 one starts", -> $('#konacha').hasClass('test').should.be.false it "can be removed in one test...", -> $('#konacha').remove() it "... and is re-added before the next one starts", -> $('#konacha').length.should.equal(1) it "is visible", -> $('#konacha').is(':visible').should.be.true
Version data entries
8 entries across 8 versions & 1 rubygems