Fixes admin notifications specs

This commit is contained in:
decabeza
2018-07-25 19:12:48 +02:00
parent a883e842ba
commit bbf3faa783

View File

@@ -195,9 +195,7 @@ feature "Admin Notifications" do
visit admin_admin_notification_path(notification)
click_link "Send"
page.accept_confirm(confirm_message)
accept_confirm { click_link "Send" }
expect(page).to have_content "Notification sent successfully"