Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
fix(challenges): fix 2nd test bug
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #17769, #17039, #16967
  • Loading branch information
ivan3123708 authored and scissorsneedfoodtoo committed Jul 4, 2018
1 parent 4dc7589 commit 362fc8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
{
"text": "A POST request to /login correctly redirects to /",
"testString":
"getUserInput => $.post(getUserInput('url')+ '/login') .then(data => { assert.match(data, /Home page/gi, 'A login attempt at this point should redirect to the homepage since we do not have any registered users'); }, xhr => { throw new Error(xhr.statusText); })"
"getUserInput => $.post(getUserInput('url')+ '/login') .then(data => { assert.match(data, /Looks like this page is being rendered from Pug into HTML!/gi, 'A login attempt at this point should redirect to the homepage since we do not have any registered users'); }, xhr => { throw new Error(xhr.statusText); })"
}
],
"solutions": [],
Expand Down

0 comments on commit 362fc8a

Please sign in to comment.