diff --git a/app/controllers/support_interface/countries_controller.rb b/app/controllers/support_interface/countries_controller.rb index aba333010e..7f4bd69862 100644 --- a/app/controllers/support_interface/countries_controller.rb +++ b/app/controllers/support_interface/countries_controller.rb @@ -58,7 +58,6 @@ def country def country_params params.require(:support_interface_country_form).permit( :eligibility_enabled, - :eligibility_skip_questions, :has_regions, :other_information, :qualifications_information, diff --git a/spec/system/support_interface/countries_spec.rb b/spec/system/support_interface/countries_spec.rb index de3abbf21f..d221c83c54 100644 --- a/spec/system/support_interface/countries_spec.rb +++ b/spec/system/support_interface/countries_spec.rb @@ -62,30 +62,30 @@ def given_countries_exist create( :region, :national, - country: create(:country, code: "IE", subject_limited: false), + country: create(:country, code: "IE"), ) create( :region, :national, - country: create(:country, code: "PL", subject_limited: false), + country: create(:country, code: "PL"), ) - united_states = create(:country, code: "US", subject_limited: false) + united_states = create(:country, code: "US") create(:region, name: "Hawaii", country: united_states) create(:region, name: "New York", country: united_states) create( :region, :national, - country: create(:country, code: "ES", subject_limited: false), + country: create(:country, code: "ES"), ) create( :region, name: "British Columbia", - country: create(:country, code: "CA", subject_limited: false), + country: create(:country, code: "CA"), ) create( :region, :national, - country: create(:country, code: "CY", subject_limited: false), + country: create(:country, code: "CY"), ) end