mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
15 lines
272 B
Ruby
15 lines
272 B
Ruby
require 'test_helper'
|
|
|
|
class ContactTest < ActiveSupport::TestCase
|
|
def setup
|
|
@contact = contacts(:john)
|
|
end
|
|
|
|
def test_valid_fixture_is_valid
|
|
assert @contact.valid?
|
|
end
|
|
|
|
def test_invalid_fixture_is_invalid
|
|
assert contacts(:invalid).invalid?
|
|
end
|
|
end
|