mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-08 22:56:06 +00:00
Replace hardcoded URL with path helper
This commit is contained in:
@@ -401,7 +401,7 @@ feature "
|
||||
let(:product) { order_cycle.products.first }
|
||||
|
||||
before do
|
||||
login_as_admin_and_visit 'admin/orders/new'
|
||||
login_as_admin_and_visit spree.new_admin_order_path
|
||||
select2_select distributor.name, from: 'order_distributor_id'
|
||||
select2_select order_cycle.name, from: 'order_order_cycle_id'
|
||||
click_button 'Next'
|
||||
|
||||
Reference in New Issue
Block a user