mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Delete redundant spec, this case is now covered in a view spec
This commit is contained in:
@@ -145,17 +145,6 @@ feature '
|
||||
expect(page).to have_selector 'p', text: "Order cycle: #{@order.order_cycle.name}"
|
||||
end
|
||||
|
||||
scenario "can't print invoices when invocies are disabled" do
|
||||
original_invoices_setting = Spree::Config[:enable_invoices?]
|
||||
|
||||
Spree::Config[:enable_invoices?] = false
|
||||
quick_login_as_admin
|
||||
visit '/admin/orders'
|
||||
expect(page).to have_no_selector 'button.invoices-modal'
|
||||
|
||||
Spree::Config[:enable_invoices?] = original_invoices_setting
|
||||
end
|
||||
|
||||
scenario "filling customer details" do
|
||||
# Given a customer with an order, which includes their shipping and billing address
|
||||
|
||||
|
||||
Reference in New Issue
Block a user