From bff2080b3213f0b4a95f963ef7954b80a038028d Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Fri, 4 Oct 2024 16:25:10 +0100 Subject: [PATCH] fix linting --- app/controllers/admin/claims_controller.rb | 2 +- app/forms/admin/claims_filter_form.rb | 2 +- spec/requests/admin/admin_claims_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/admin/claims_controller.rb b/app/controllers/admin/claims_controller.rb index d8585c405a..9787b588ea 100644 --- a/app/controllers/admin/claims_controller.rb +++ b/app/controllers/admin/claims_controller.rb @@ -6,7 +6,7 @@ class Admin::ClaimsController < Admin::BaseAdminController def index @filter_form = Admin::ClaimsFilterForm.new( filters: filter_params, - session:, + session: ) @filter_form.save_to_session! diff --git a/app/forms/admin/claims_filter_form.rb b/app/forms/admin/claims_filter_form.rb index 1514eaa049..844a88bcf2 100644 --- a/app/forms/admin/claims_filter_form.rb +++ b/app/forms/admin/claims_filter_form.rb @@ -102,7 +102,7 @@ def status_select_options def team_member_select_options array = [["All", nil], ["Unassigned", "unassigned"]] - array = array + DfeSignIn::User.options_for_select + array += DfeSignIn::User.options_for_select array.map do |name, id| OpenStruct.new(id:, name:) diff --git a/spec/requests/admin/admin_claims_spec.rb b/spec/requests/admin/admin_claims_spec.rb index 9078feb493..1eed95cdb3 100644 --- a/spec/requests/admin/admin_claims_spec.rb +++ b/spec/requests/admin/admin_claims_spec.rb @@ -75,7 +75,7 @@ c.save } - get admin_claims_path, params: {filter:{team_member: mette.id}} + get admin_claims_path, params: {filter: {team_member: mette.id}} [ student_loans_claims_for_mette,