Full coverage for user controller.

This commit is contained in:
James Cole
2014-12-31 07:17:33 +01:00
parent 7e96054dc2
commit 0cbb50ae9d
2 changed files with 5 additions and 15 deletions

View File

@@ -68,7 +68,7 @@ class UserControllerCest
$I->wantTo('post-register a new account');
$I->amOnPage('/register');
$I->submitForm('#register', ['email' => 'noreply@gmail.com']);
$I->see('Password sent!');
$I->see('You\'re about to get an e-mail. Please follow its instructions.');
$I->seeRecord('users', ['email' => 'noreply@gmail.com']);
}