diff --git a/Gemfile b/Gemfile index f21f63a047..d7cdbce26a 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,7 @@ source "https://rubygems.org" ruby "3.3.6" RAILS_VERSION = "~> 7.2".freeze +gem "actioncable", RAILS_VERSION gem "actionmailer", RAILS_VERSION gem "actionpack", RAILS_VERSION gem "actionpack-action_caching" @@ -12,7 +13,6 @@ gem "activemodel", RAILS_VERSION gem "activerecord", RAILS_VERSION gem "activestorage", RAILS_VERSION gem "activesupport", RAILS_VERSION -gem "actioncable", RAILS_VERSION gem "cssbundling-rails" gem "jsbundling-rails" gem "propshaft" diff --git a/app/controllers/jobseekers/job_applications/qualifications_controller.rb b/app/controllers/jobseekers/job_applications/qualifications_controller.rb index 5d5377bdd7..c8ed3f6973 100644 --- a/app/controllers/jobseekers/job_applications/qualifications_controller.rb +++ b/app/controllers/jobseekers/job_applications/qualifications_controller.rb @@ -13,8 +13,7 @@ def submit_category end end - def new - end + def new; end def new_school @school_number = params[:school_number].to_i diff --git a/spec/support/jobseeker_helpers.rb b/spec/support/jobseeker_helpers.rb index adb464efd9..607f6882dd 100644 --- a/spec/support/jobseeker_helpers.rb +++ b/spec/support/jobseeker_helpers.rb @@ -107,7 +107,7 @@ def fill_in_reference def fill_in_gcses fill_in "jobseekers_qualifications_secondary_common_form[qualification_results_attributes][0][subject]", with: "Maths" fill_in "jobseekers_qualifications_secondary_common_form[qualification_results_attributes][0][grade]", with: "110%" - click_on 'Add another subject' + click_on "Add another subject" fill_in "jobseekers_qualifications_secondary_common_form[qualification_results_attributes][1][subject]", with: "PE" fill_in "jobseekers_qualifications_secondary_common_form[qualification_results_attributes][1][grade]", with: "90%" fill_in "School, college, or other organisation", with: "Churchill School for Gifted Macaques" @@ -118,7 +118,7 @@ def fill_in_custom_secondary_qualifications fill_in "Qualification name", with: "Welsh Baccalaureate" fill_in "jobseekers_qualifications_secondary_other_form[qualification_results_attributes][0][subject]", with: "Science" fill_in "jobseekers_qualifications_secondary_other_form[qualification_results_attributes][0][grade]", with: "5" - click_on 'Add another subject' + click_on "Add another subject" fill_in "jobseekers_qualifications_secondary_other_form[qualification_results_attributes][1][subject]", with: "German" fill_in "jobseekers_qualifications_secondary_other_form[qualification_results_attributes][1][grade]", with: "4" fill_in "School, college, or other organisation", with: "Happy Rainbows School for High Achievers"