Commit 9e513442 authored by Rémy Coutable's avatar Rémy Coutable

Remove flash expectation since JS errors could hide the flash notice

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent f31df951
...@@ -31,8 +31,6 @@ describe 'Groups > Members > Leave group' do ...@@ -31,8 +31,6 @@ describe 'Groups > Members > Leave group' do
page.accept_confirm page.accept_confirm
expect(find('.flash-notice')).to have_content "You left the \"#{group.full_name}\" group"
expect(page).to have_content left_group_message(group)
expect(current_path).to eq(dashboard_groups_path) expect(current_path).to eq(dashboard_groups_path)
expect(group.users).not_to include(user) expect(group.users).not_to include(user)
end 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