mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
15 lines
267 B
Ruby
15 lines
267 B
Ruby
require 'test_helper'
|
|
|
|
class DomainTest < ActiveSupport::TestCase
|
|
def setup
|
|
@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
|