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

@@ -356,13 +356,13 @@ describe "Proposal's dashboard" do
click_link "Message to users"
end
expect(page).to have_link("Send message to proposal followers")
expect(page).to have_link("Send notification to proposal followers")
expect(page).to have_link("See previous notifications")
end
scenario "Dashboard has a link to send message to proposal supporters" do
visit messages_proposal_dashboard_path(proposal)
click_link("Send message to proposal followers")
click_link("Send notification to proposal followers")
fill_in "Title", with: "Thank you for supporting my proposal"
fill_in "Message", with: "Please share it with others!"

View File

@@ -14,7 +14,7 @@ describe "Proposal Notifications" do
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: "Thank you for supporting my proposal"
fill_in "proposal_notification_body", with: "Please share it with "\
@@ -159,7 +159,7 @@ describe "Proposal Notifications" do
click_link "Message to users"
end
expect(page).to have_link "Send message to proposal followers"
expect(page).to have_link "Send notification to proposal followers"
end
scenario "Accessing form directly" do