mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +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
|
@ -18,14 +18,14 @@ class DomainTransferTest < ActiveSupport::TestCase
|
|||
@domain_transfer.approve
|
||||
end
|
||||
|
||||
body = 'Transfer of domain shop.test has been approved.' \
|
||||
text = 'Transfer of domain shop.test has been approved.' \
|
||||
' It was associated with registrant john-001' \
|
||||
' and contacts acme-ltd-001, jane-001, william-001.'
|
||||
id = @domain_transfer.id
|
||||
class_name = @domain_transfer.class.name
|
||||
|
||||
notification = old_registrar.notifications.last
|
||||
assert_equal body, notification.body
|
||||
assert_equal text, notification.text
|
||||
assert_equal id, notification.attached_obj_id
|
||||
assert_equal class_name, notification.attached_obj_type
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue