Test transaction views for transactions without budgets and categories.

This commit is contained in:
James Cole 2015-01-25 13:17:32 +01:00
parent ba2a40bdf3
commit 4bb17019a4
2 changed files with 19 additions and 0 deletions

View File

@ -105,6 +105,16 @@ class BudgetControllerCest
$I->see('Budgets');
}
/**
* @param FunctionalTester $I
*/
public function indexNoBudget(FunctionalTester $I)
{
$I->wantTo('see transactions without a budget');
$I->amOnPage('/budgets/list/noBudget');
$I->see('Transactions without a budget in');
}
/**
* @param FunctionalTester $I
*/

View File

@ -86,6 +86,15 @@ class CategoryControllerCest
$I->wantTo('show all categories');
$I->amOnPage('/categories');
}
/**
* @param FunctionalTester $I
*/
public function indexNoCategory(FunctionalTester $I)
{
$I->wantTo('see transactions without a category');
$I->amOnPage('/categories/list/noCategory');
$I->see('Transactions without a category in');
}
/**
* @param FunctionalTester $I