mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 22:16:19 +02:00
updated tests
This commit is contained in:
parent
94302aaec9
commit
443643d937
2 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,7 @@ class AdminAreaInvoicesTest < ApplicationSystemTestCase
|
|||
end
|
||||
|
||||
def test_cancels_an_invoice
|
||||
Spy.on(EisBilling::SendInvoiceStatus, :send_info).and_return(true)
|
||||
@invoice.account_activity = nil
|
||||
assert @invoice.cancellable?
|
||||
|
||||
|
|
|
@ -13,6 +13,8 @@ class RegistrarAreaInvoicesTest < ApplicationSystemTestCase
|
|||
end
|
||||
|
||||
def test_cancels_an_invoice
|
||||
Spy.on(EisBilling::SendInvoiceStatus, :send_info).and_return(true)
|
||||
|
||||
@invoice.account_activity = nil
|
||||
assert @invoice.cancellable?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue