Most views now show the transaction the current journal/transaction is set in, even if it's not the current default currency. See issue #37

This commit is contained in:
James Cole
2014-12-30 06:30:20 +01:00
parent 89363ecfa3
commit c0c37eec7b
9 changed files with 208 additions and 143 deletions

View File

@@ -41,8 +41,8 @@ class CurrencyControllerCest
public function delete(FunctionalTester $I)
{
$I->wantTo('delete a currency');
$I->amOnPage('/currency/delete/2');
$I->see('Delete currency "US Dollar"');
$I->amOnPage('/currency/delete/3');
$I->see('Delete currency "Hungarian forint"');
}
/**
@@ -51,10 +51,10 @@ class CurrencyControllerCest
public function destroy(FunctionalTester $I)
{
$I->wantTo('destroy a currency');
$I->amOnPage('/currency/delete/2');
$I->see('Delete currency "US Dollar"');
$I->amOnPage('/currency/delete/3');
$I->see('Delete currency "Hungarian forint"');
$I->submitForm('#destroy', []);
$I->see('Currency "US Dollar" deleted');
$I->see('Currency "Hungarian forint" deleted');
}
/**