From 0e734a25fdaa421b50491e4ea3a482e11d95f1eb Mon Sep 17 00:00:00 2001 From: Klaus Zanders Date: Thu, 13 Feb 2025 12:54:46 +0100 Subject: [PATCH] fix specs --- .../app/views/admin/cost_types/index.html.erb | 2 +- .../{ => admin}/cost_types_controller_spec.rb | 8 ++-- .../cost_types/create_cost_type_spec.rb | 4 +- .../cost_types/delete_cost_type_spec.rb | 5 +- .../spec/features/time_entry/activity_spec.rb | 2 + .../spec/routing/cost_types_routing_spec.rb | 48 +++++++++---------- spec/features/admin/enumerations_spec.rb | 4 +- 7 files changed, 39 insertions(+), 34 deletions(-) rename modules/costs/spec/controllers/{ => admin}/cost_types_controller_spec.rb (89%) diff --git a/modules/costs/app/views/admin/cost_types/index.html.erb b/modules/costs/app/views/admin/cost_types/index.html.erb index b240dfb215e..d42a9fae344 100644 --- a/modules/costs/app/views/admin/cost_types/index.html.erb +++ b/modules/costs/app/views/admin/cost_types/index.html.erb @@ -55,7 +55,7 @@ See COPYRIGHT and LICENSE files for more details. end %> <% subheader.with_bottom_pane_component do %> - <%= styled_form_tag(cost_types_path, { method: :get, id: "query_form" }) do %> + <%= styled_form_tag(admin_cost_types_path, { method: :get, id: "query_form" }) do %>
<%= t(:label_filter_plural) %>