Browse Source

test and lint

pull/1871/head
Kat 3 years ago
parent
commit
ff73dd416e
  1. 2
      app/views/schemes/confirm_secondary.html.erb
  2. 3
      db/seeds.rb

2
app/views/schemes/confirm_secondary.html.erb

@ -12,7 +12,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<%= 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,

3
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",

Loading…
Cancel
Save