mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Rename notifications.body
to text
This commit is contained in:
parent
8765baf319
commit
dfff6f6d12
16 changed files with 30 additions and 22 deletions
|
@ -9,8 +9,8 @@ class NotificationTest < ActiveSupport::TestCase
|
|||
assert @notification.valid?
|
||||
end
|
||||
|
||||
def test_invalid_without_body
|
||||
@notification.body = nil
|
||||
def test_invalid_without_text
|
||||
@notification.text = ''
|
||||
assert @notification.invalid?
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue