parent
4dc7589a8c
commit
362fc8afc6
|
@ -221,7 +221,7 @@
|
||||||
{
|
{
|
||||||
"text": "A POST request to /login correctly redirects to /",
|
"text": "A POST request to /login correctly redirects to /",
|
||||||
"testString":
|
"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": [],
|
"solutions": [],
|
||||||
|
|
Loading…
Reference in New Issue