     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 have a red background', (done) ->
      expect('.green-text').dom.to.have.style 'background-color', 'rgba(0, 0, 0, 0)', done

    it 'returns a promise', (done)->
      promise = expect('.red-bg').dom.to.have.style 'background-color', 'rgba(255, 0, 0, 1)'
      expect(promise).to.exist.and.to.have.property 'then'
      promise.then -> done()

  describe '#value', ->
    it 'verifies that a text field has a specific value', (done) ->

    it 'verifies that an element does not have exact text', (done) ->
      expect('h1').dom.not.to.have.text "Wake", done

    it 'returns a promise for affirmative', (done)->
      promise = expect('h1').dom.to.have.text "The following text is an excerpt from Finnegan's Wake by James Joyce"
      expect(promise).to.exist.and.to.have.property 'then'
      promise.then -> done()

    it 'returns a promise for negative', (done)->
      promise = expect('h1').dom.not.to.have.text "Wake"
      expect(promise).to.exist.and.to.have.property 'then'
      promise.then -> done()
