mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 22:24:47 +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
|
@ -252,9 +252,10 @@ RSpec.describe Domain do
|
|||
end
|
||||
|
||||
it 'should notify registrar' do
|
||||
text = 'Registrant confirmed domain update: testpollmessage123.ee'
|
||||
domain = create(:domain, name: 'testpollmessage123.ee')
|
||||
domain.notify_registrar(:poll_pending_update_confirmed_by_registrant)
|
||||
domain.registrar.notifications.first.body.should == 'Registrant confirmed domain update: testpollmessage123.ee'
|
||||
domain.registrar.notifications.first.text.should == text
|
||||
end
|
||||
|
||||
context 'about registrant update confirm' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue