Updated tests for help controller.

This commit is contained in:
James Cole
2014-12-30 15:55:21 +01:00
parent eedf27f8a5
commit 0acd75a24f
2 changed files with 23 additions and 5 deletions

View File

@@ -49,6 +49,18 @@ class HelpControllerCest
}
/**
* @param FunctionalTester $I
*/
public function showHelpEmptyHelpFile(FunctionalTester $I)
{
$I->wantTo('show help for a route with no text.');
$I->amOnPage('/help/transactions.doRelate');
$I->canSeeResponseCodeIs(200);
$I->see('There is no help for this route');
}
/**
* @param FunctionalTester $I
*/
@@ -60,6 +72,7 @@ class HelpControllerCest
$I->see('There is no help for this route');
}
//
/**
* @param FunctionalTester $I