mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Fix double binding issue
This commit is contained in:
parent
fe6804ab11
commit
18a2e27c19
3 changed files with 10 additions and 1 deletions
|
@ -50,7 +50,7 @@ describe BankStatement do
|
|||
description: 'Invoice no. 1'
|
||||
}),
|
||||
Fabricate(:bank_transaction, {
|
||||
sum: 120.0,
|
||||
sum: 240.0,
|
||||
reference_no: 'RF7086666663',
|
||||
description: 'Invoice no. 1'
|
||||
})
|
||||
|
@ -66,6 +66,7 @@ describe BankStatement do
|
|||
r.cash_account.balance.should == 240.0
|
||||
|
||||
bs.bank_transactions.unbinded.count.should == 1
|
||||
bs.partially_binded?.should == true
|
||||
end
|
||||
|
||||
# it 'should have one version' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue