Rename notifications.body to text

This commit is contained in:
Artur Beljajev 2018-08-23 21:26:33 +03:00
parent 8765baf319
commit dfff6f6d12
16 changed files with 30 additions and 22 deletions

View file

@ -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