mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-03 06:59:14 +00:00
Remove redundant system spec
System specs are expensive. And this spec just looked for the visibility of certain elements while other tests actually use them and therefore verify their function much more thoroughly.
This commit is contained in:
@@ -699,12 +699,6 @@ describe "As a consumer, I want to checkout my order" do
|
||||
create(:voucher_flat_rate, code: 'some_code', enterprise: distributor, amount: 15)
|
||||
end
|
||||
|
||||
it "shows voucher input" do
|
||||
visit checkout_step_path(:payment)
|
||||
expect(page).to have_field "Enter voucher code"
|
||||
expect(page).to have_content "Apply voucher"
|
||||
end
|
||||
|
||||
describe "adding voucher to the order" do
|
||||
before do
|
||||
visit checkout_step_path(:payment)
|
||||
|
||||
Reference in New Issue
Block a user