From ff73dd416ec88a8afd8dd4628ae7b57bdfea60ce Mon Sep 17 00:00:00 2001 From: Kat Date: Fri, 25 Aug 2023 14:50:43 +0100 Subject: [PATCH] test and lint --- app/views/schemes/confirm_secondary.html.erb | 2 +- db/seeds.rb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/schemes/confirm_secondary.html.erb b/app/views/schemes/confirm_secondary.html.erb index c0cc50220..706d14c83 100644 --- a/app/views/schemes/confirm_secondary.html.erb +++ b/app/views/schemes/confirm_secondary.html.erb @@ -12,7 +12,7 @@
<%= f.govuk_error_summary %> - + <% selection = [OpenStruct.new(id: "Yes", name: "Yes"), OpenStruct.new(id: "No", name: "No")] %> <%= f.govuk_collection_radio_buttons :has_other_client_group, selection, diff --git a/db/seeds.rb b/db/seeds.rb index 0358216d0..94d36a7fb 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -253,6 +253,7 @@ unless Rails.env.test? scheme_type: 4, intended_stay: "M", primary_client_group: "O", + has_other_client_group: 1, secondary_client_group: "H", owning_organisation: org, arrangement_type: "D", @@ -269,6 +270,7 @@ unless Rails.env.test? intended_stay: "S", primary_client_group: "D", secondary_client_group: "E", + has_other_client_group: 1, owning_organisation: org, arrangement_type: "D", confirmed: true, @@ -283,6 +285,7 @@ unless Rails.env.test? scheme_type: 7, intended_stay: "X", primary_client_group: "G", + has_other_client_group: 1, secondary_client_group: "R", owning_organisation: dummy_org, arrangement_type: "D",