mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Improve credit debit test #2741
This commit is contained in:
parent
18da14b662
commit
48fc21ee65
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ describe Registrar do
|
|||
a = @registrar.cash_account.account_activities.last
|
||||
a.description.should == 'Add money'
|
||||
a.sum.should == BigDecimal.new('13.32')
|
||||
a.log_pricelist_id.should == nil
|
||||
|
||||
@registrar.debit!({ sum: 10.31, description: 'Remove money' })
|
||||
@registrar.balance.should == BigDecimal.new('3.01')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue