Fixes admin notifications specs
This commit is contained in:
@@ -195,9 +195,7 @@ feature "Admin Notifications" do
|
|||||||
|
|
||||||
visit admin_admin_notification_path(notification)
|
visit admin_admin_notification_path(notification)
|
||||||
|
|
||||||
click_link "Send"
|
accept_confirm { click_link "Send" }
|
||||||
|
|
||||||
page.accept_confirm(confirm_message)
|
|
||||||
|
|
||||||
expect(page).to have_content "Notification sent successfully"
|
expect(page).to have_content "Notification sent successfully"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user