mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
parent
36487a0c51
commit
a65354c301
4 changed files with 15 additions and 2 deletions
|
@ -14,4 +14,10 @@ class MessageTest < ActiveSupport::TestCase
|
|||
@message.validate
|
||||
assert @message.invalid?
|
||||
end
|
||||
|
||||
def test_invalid_without_registrar
|
||||
@message.registrar = nil
|
||||
@message.validate
|
||||
assert @message.invalid?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue