Commit dbf8f6e9 authored by Rémy Coutable's avatar Rémy Coutable

Remove expectation on flash notice

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 2e4b1944
......@@ -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