mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
parent
9f80104116
commit
cf8cfa8252
1 changed files with 0 additions and 2 deletions
|
@ -11,13 +11,11 @@ class MessageTest < ActiveSupport::TestCase
|
|||
|
||||
def test_invalid_without_body
|
||||
@message.body = nil
|
||||
@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