Convert spec to test

#623
This commit is contained in:
Artur Beljajev 2018-02-28 11:52:20 +02:00
parent e4b730caf7
commit 07d58d5b9a
2 changed files with 1 additions and 3 deletions

View file

@ -15,9 +15,8 @@ class RegistrarTest < ActiveSupport::TestCase
assert @registrar.invalid?
end
def test_requires_country_code
def test_invalid_without_country_code
@registrar.country_code = nil
@registrar.validate
assert @registrar.invalid?
end