Improve flaky spec

This commit is contained in:
Matt-Yorkley
2023-06-07 00:28:54 +01:00
parent 7a7ab17db4
commit daf243996b

View File

@@ -313,7 +313,6 @@ describe '
within(".modal") do
expect do
click_on("OK")
expect(page).not_to have_css(".modal")
end.to change { order.reload.line_items.length }.by(-1)
end
end