Introduce helper method

#623
This commit is contained in:
Artur Beljajev 2018-03-13 11:39:18 +02:00
parent 3ed6416e50
commit beba81bc6d
5 changed files with 8 additions and 4 deletions

View file

@ -22,6 +22,6 @@ class ShowRegistrarTest < ActionDispatch::IntegrationTest
end
def test_vat_rate
assert_text number_to_percentage(@registrar.vat_rate, precision: 1)
assert_text vat_rate(@registrar.vat_rate)
end
end