mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
parent
6c1342c957
commit
81ea57c523
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ class ContactTest < ActiveSupport::TestCase
|
|||
@contact = contacts(:john)
|
||||
end
|
||||
|
||||
def test_validates
|
||||
def test_valid_fixture_is_valid
|
||||
assert @contact.valid?
|
||||
end
|
||||
|
||||
|
|
|
@ -5,11 +5,11 @@ class DomainTest < ActiveSupport::TestCase
|
|||
@domain = domains(:shop)
|
||||
end
|
||||
|
||||
def test_valid_fixture
|
||||
def test_valid_fixture_is_valid
|
||||
assert @domain.valid?
|
||||
end
|
||||
|
||||
def test_invalid_fixture
|
||||
def test_invalid_fixture_is_invalid
|
||||
assert domains(:invalid).invalid?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue