diff --git a/app/views/spree/admin/shared/_order_sub_menu.html.erb b/app/views/spree/admin/shared/_order_sub_menu.html.erb index 63ec0d3292..e9039a0109 100644 --- a/app/views/spree/admin/shared/_order_sub_menu.html.erb +++ b/app/views/spree/admin/shared/_order_sub_menu.html.erb @@ -2,5 +2,6 @@
-<% end %> \ No newline at end of file +<% end %> diff --git a/spec/features/admin/standing_orders_spec.rb b/spec/features/admin/standing_orders_spec.rb index 4aefa65762..5d332df12c 100644 --- a/spec/features/admin/standing_orders_spec.rb +++ b/spec/features/admin/standing_orders_spec.rb @@ -18,7 +18,9 @@ feature 'Standing Orders' do let!(:standing_order_unmanaged) { create(:standing_order, shop: shop_unmanaged) } it "passes the smoke test" do - visit admin_standing_orders_path + visit spree.admin_path + click_link 'Orders' + click_link 'Standing Orders' expect(page).to have_select2 "shop_id", with_options: [shop.name, shop2.name], without_options: [shop_unmanaged.name]