From fa96f7339d7f5c467ad2160862c9879dd2d8da12 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 23 Jan 2023 11:35:53 +0000 Subject: [PATCH] Replaces URL with routing syntax --- spec/system/admin/orders_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index 0681f5ac98..782cf20cc0 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -80,7 +80,7 @@ describe ' before do order2.select_shipping_method(shipping_method.id) order4.select_shipping_method(shipping_method2.id) - login_as_admin_and_visit 'admin/orders' + login_as_admin_and_visit spree.admin_orders_path end it "order cycles appear in descending order by close date on orders page" do @@ -214,7 +214,7 @@ describe ' context "select/unselect all orders" do before do - login_as_admin_and_visit 'admin/orders' + login_as_admin_and_visit spree.admin_orders_path end it "by clicking on the checkbox in the table header" do