mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
Remove app-level association validation
This commit is contained in:
parent
a1fb0e2e61
commit
1183d06c09
2 changed files with 1 additions and 6 deletions
|
@ -14,11 +14,6 @@ class NotificationTest < ActiveSupport::TestCase
|
|||
assert @notification.invalid?
|
||||
end
|
||||
|
||||
def test_invalid_without_registrar
|
||||
@notification.registrar = nil
|
||||
assert @notification.invalid?
|
||||
end
|
||||
|
||||
def test_unread_by_default
|
||||
notification = Notification.new(registrar: registrars(:bestnames), text: 'test')
|
||||
assert notification.unread?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue