         parseExamples[12].should.have.property('expected', "NaN")
 
       it 'includes private methods with examples', ->
-        listPrivateFunctions(data).should.include 'privateWithExample'
+        listPrivateFunctions(data).should.containEql 'privateWithExample'
 
       it 'includes private constructors with members', ->
-        listPrivateFunctions(data).should.include 'PrivateWithMembers'
+        listPrivateFunctions(data).should.containEql 'PrivateWithMembers'
 
       it 'includes members of private methods', ->
         listMethodsOfPrivateFunction(data, 'PrivateWithMembers')
-          .should.include 'PrivateWithMembers.prototype.foo'
+          .should.containEql 'PrivateWithMembers.prototype.foo'
 
       describe 'multiline expressions', ->
         insertExamples = listExamplesForMember(data, 'insert')

      data = parseExampleFile('redundant.js')

      it 'can infer namespaces from object expressions', ->
        listNamespaces(data).should.include 'R.objects'

      it 'also respects the @memberOf tag for explicitly defining namespaces', ->
        listMembersForNamespace(data, 'R.strings').should.eql ['split', 'toUpperCase']

        data.description.should.match /^\s*<p>This is a description.<\/p>\s*$/

      it 'gets all namespaces', ->
        listNamespaces(data).should.containEql 'Foo'
        listNamespaces(data).should.containEql 'Foo.Bar'
        listNamespaces(data).should.not.containEql 'privateFunction'
        listNamespaces(data).should.containEql '[private]'

      it 'groups functions by namespace', ->
        listMembersForNamespace(data, 'Foo').should.eql ['getName']
