mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +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
|
def test_invalid_without_body
|
||||||
@message.body = nil
|
@message.body = nil
|
||||||
@message.validate
|
|
||||||
assert @message.invalid?
|
assert @message.invalid?
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_invalid_without_registrar
|
def test_invalid_without_registrar
|
||||||
@message.registrar = nil
|
@message.registrar = nil
|
||||||
@message.validate
|
|
||||||
assert @message.invalid?
|
assert @message.invalid?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue