replace the word message with notification on proposal notification screens

This commit is contained in:
Andrew Davis
2021-06-04 19:58:11 +08:00
parent 5f4dd48e25
commit 8991bb0302
5 changed files with 14 additions and 14 deletions

View File

@@ -39,11 +39,11 @@ module Notifications
click_link "Message to users"
end
click_link "Send message to proposal followers"
click_link "Send notification to proposal followers"
fill_in "proposal_notification_title", with: "Thanks for supporting proposal: #{proposal.title}"
fill_in "proposal_notification_body", with: "Please share it with others! #{proposal.summary}"
click_button "Send message"
click_button "Send notification"
expect(page).to have_content "Your message has been sent correctly."
Notification.last