From 57ab19d86adc88c74bd04f84c834754e4228abbe Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Mon, 12 Mar 2018 11:34:41 +0200 Subject: [PATCH] Improve readability #623 --- test/models/invoice/vat_rate_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/models/invoice/vat_rate_test.rb b/test/models/invoice/vat_rate_test.rb index cb2bd9f19..27bc4b705 100644 --- a/test/models/invoice/vat_rate_test.rb +++ b/test/models/invoice/vat_rate_test.rb @@ -5,7 +5,7 @@ class InvoiceVATRateTest < ActiveSupport::TestCase @invoice = invoices(:valid) end - def test_valid_without_vat_rate + def test_optional_vat_rate @invoice.vat_rate = nil assert @invoice.valid? end