mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 13:15:40 +02:00
15 lines
266 B
Ruby
15 lines
266 B
Ruby
require 'test_helper'
|
|
|
|
class DomainTest < ActiveSupport::TestCase
|
|
setup do
|
|
@domain = domains(:shop)
|
|
end
|
|
|
|
def test_valid_fixture_is_valid
|
|
assert @domain.valid?
|
|
end
|
|
|
|
def test_invalid_fixture_is_invalid
|
|
assert domains(:invalid).invalid?
|
|
end
|
|
end
|