       expect(-> $li_second.addClass([])).not.toThrow()
       expect(-> $li_second.addClass({})).not.toThrow()
 
-    it 'should only add a class if the nodeType is 1 (ELEMENT_NODE)', ->
-      textNode = $($li_first[0].firstChild) # nodeType is 3
-      expect(textNode.addClass('text_node')).toEqual(textNode)
-
     it 'should do nothing when called with wierd or without arguments', ->
       currentClasses = getClass($li_first)
       $li_first.addClass()

    it 'should add a class to an element', ->
      $li_first.addClass('uno')
      expect(getClass($li_first)).toEqual(['first', 'active', 'uno'])

    it 'should add multiple classes to an element', ->
      $li_second.addClass('dos two due')

    it 'should remove a class from an element', ->
      $li_first.removeClass('uno')
      expect(getClass($li_first)).toEqual(['first', 'active'])

    it 'should only add a class if the nodeType is 1 (ELEMENT_NODE)', ->
      textNode = $($li_first[0].firstChild) # nodeType is 3
      expect(textNode.removeClass('text_node')).toEqual(textNode)

    it 'should remove multiple classes from an element', ->
      $li_second.removeClass('dos due')
