Skip to content

Commit

Permalink
fix remaining failed tests by using shouldjs's new containDeep #54
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkueng committed Feb 3, 2015
1 parent b7ffbba commit c71b3d7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/test.main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2839,10 +2839,8 @@ describe('Testing Node specific operations for Neo4j', function () {
result.data[3].should.have.lengthOf(2);
result.columns.should.be.an.instanceOf(Array);
result.columns.should.have.lengthOf(2);
result.data[0].should.containEql('foobar');
result.data[0].should.containEql('foobar2');
result.data[1].should.containEql('foobar');
result.data[1].should.containEql('foobar3');
result.data.should.containDeep([['foobar', 'foobar2'],
['foobar', 'foobar3']]);
result.columns.should.containEql('a.name');
done();
});
Expand All @@ -2858,8 +2856,8 @@ describe('Testing Node specific operations for Neo4j', function () {
result.columns.should.containEql('friends');
result.data.should.be.an.instanceOf(Array);
result.data.should.have.lengthOf(2);
result.data[0].should.have.property('name', 'foobar2');
result.data[1].should.have.property('name', 'foobar3');
result.data.should.containDeep([{name: 'foobar2'},
{name: 'foobar3'}]);
done();
});
});
Expand Down

0 comments on commit c71b3d7

Please sign in to comment.