Skip to content

Commit

Permalink
test titles
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Jan 3, 2019
1 parent dc65b3d commit 59709f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/suite.spec.js
Expand Up @@ -309,13 +309,13 @@ describe('Suite', function() {
this.first.addSuite(this.second);
});

it('sets second root property to false', function() {
it('does not create a second root suite', function() {
expect(this.second.parent, 'to be', this.first);
expect(this.first.root, 'to be', true);
expect(this.second.root, 'to be', false);
});

it('only one root property is set', function() {
it('does not denote the root suite by being titleless', function() {
var emptyTitleSuite = Suite.create(this.second, '');
expect(emptyTitleSuite.parent, 'to be', this.second);
expect(emptyTitleSuite.root, 'to be', false);
Expand Down

0 comments on commit 59709f6

Please sign in to comment.