Skip to content

Commit

Permalink
Fixes admin notifications specs
Browse files Browse the repository at this point in the history
  • Loading branch information
decabeza committed Jul 25, 2018
1 parent a883e84 commit bbf3faa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/features/admin/admin_notifications_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,7 @@

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"

Expand Down

0 comments on commit bbf3faa

Please sign in to comment.