     it 'verifies than an element does not have a given class', (done) ->
       expect('.green-text').dom.not.to.have.htmlClass 'second-class', done
 
-    it 'returns a promise', (done)->
+    it 'returns a promise for affirmative', (done)->
       promise = expect('.does-exist').dom.to.have.htmlClass 'second-class'
       expect(promise).to.exist.and.to.have.property 'then'
       promise.then -> done()
 
+    it 'returns a promise for negative', (done)->
+      promise = expect('.green-text').dom.not.to.have.htmlClass 'second-class'
+      expect(promise).to.exist.and.to.have.property 'then'
+      promise.then -> done()
+
+
   describe 'attribute', ->
+
     it 'verifies that an element attribute has a given value', (done) ->
       expect('input.does-exist').dom.to.have.attribute 'value', 'People put stuff here', done
 

    it 'verifies that an element does not match the regexp', (done) ->
      expect('h1').dom.not.to.match /following.*food/, done

    it 'returns a promise', (done)->
      promise = expect('h1').dom.to.match /following.*excerpt/
      expect(promise).to.exist.and.to.have.property 'then'
      promise.then -> done()

    describe 'not on a dom element', ->
      it 'verifies that a string does match the regexp', ->

    it 'verifies that an empty attribute exists', (done) ->
      expect('input.does-exist').dom.to.have.attribute 'empty', done

    it 'returns a promise for affirmative value', (done)->
      promise = expect('input.does-exist').dom.to.have.attribute 'value', 'People put stuff here'
      expect(promise).to.exist.and.to.have.property 'then'
      promise.then -> done()

    it 'returns a promise for negative value', (done)->
      promise = expect('input.does-exist').dom.not.to.have.attribute 'input', 'radio'
      expect(promise).to.exist.and.to.have.property 'then'
      promise.then -> done()

    it 'returns a promise for affirmative existence', (done)->
      promise = expect('input.does-exist').dom.to.have.attribute 'type'
      expect(promise).to.exist.and.to.have.property 'then'
      promise.then -> done()

    it 'returns a promise for negative existence', (done)->
      promise = expect('input.does-exist').dom.not.to.have.attribute 'href'
      expect(promise).to.exist.and.to.have.property 'then'
      promise.then -> done()


describe 'going to a different page', ->
  before (done) ->
