mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Some tests for invoice binding
This commit is contained in:
parent
e678e655da
commit
57d23976c7
19 changed files with 206 additions and 25 deletions
|
@ -90,7 +90,7 @@ describe Registrar do
|
|||
@registrar.issue_prepayment_invoice(200, 'add some money')
|
||||
@registrar.invoices.count.should == 1
|
||||
i = @registrar.invoices.first
|
||||
i.total.should == BigDecimal.new('240.0')
|
||||
i.sum.should == BigDecimal.new('240.0')
|
||||
i.description.should == 'add some money'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue