Skip to content

Commit

Permalink
Merge pull request codeschool#3 from eibt/testfix
Browse files Browse the repository at this point in the history
Improve assertion message for title task
  • Loading branch information
adamfortuna authored Dec 8, 2016
2 parents 3ab48d7 + 7b7f648 commit a4b0f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Your HTML Page', function() {
assert.equal(window.$('title').length, 1, 'Make sure to create a `title` element.');
});

it('should have a title with the text "Code School" @title', function() {
it('should have a title that contains your name @title', function() {
assert.notEqual(window.$('title').text(), '', 'Make sure to set the content of the `title` element to your Code School username.');
});

Expand Down

0 comments on commit a4b0f0a

Please sign in to comment.