mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
parent
6fa1ce9128
commit
30ea880211
6 changed files with 8 additions and 60 deletions
|
@ -33,11 +33,6 @@ class InvoiceTest < ActiveSupport::TestCase
|
|||
assert_not Invoice.overdue.include?(@invoice), 'Should not return non-overdue invoice'
|
||||
end
|
||||
|
||||
def test_invalid_without_issue_date
|
||||
@invoice.issue_date = nil
|
||||
assert @invoice.invalid?
|
||||
end
|
||||
|
||||
def test_optional_vat_rate
|
||||
@invoice.vat_rate = nil
|
||||
assert @invoice.valid?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue