Commit afdd1ad6 authored by Michael Kozono's avatar Michael Kozono

Merge branch '119206-fix-flaky-admin_sends_notification_spec' into 'master'

Remove expectation on flash notice

Closes #119206

See merge request gitlab-org/gitlab!22977
parents eb3ff312 dbf8f6e9
......@@ -47,7 +47,6 @@ describe "Admin sends notification", :js, :sidekiq_might_not_need_inline do
emails = ActionMailer::Base.deliveries
expect(find(".flash-notice")).to have_content("Email sent")
expect(emails.count).to eql(group.users.count)
expect(emails.last.text_part.body.decoded).to include(NOTIFICATION_TEXT)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment