Fixed proposal notification specs
This commit is contained in:
@@ -15,7 +15,9 @@ feature 'Proposal Notifications' do
|
||||
click_link 'Dashboard'
|
||||
end
|
||||
|
||||
click_link 'Send notification'
|
||||
within('#side_menu') do
|
||||
click_link 'Send notification'
|
||||
end
|
||||
|
||||
fill_in 'proposal_notification_title', with: 'Thank you for supporting my proposal'
|
||||
fill_in 'proposal_notification_body', with: 'Please share it with others so we can make it happen!'
|
||||
|
||||
@@ -23,7 +23,9 @@ module Notifications
|
||||
click_link "Dashboard"
|
||||
end
|
||||
|
||||
click_link "Send notification"
|
||||
within('#side_menu') do
|
||||
click_link "Send notification"
|
||||
end
|
||||
|
||||
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}"
|
||||
|
||||
Reference in New Issue
Block a user