Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
starswan committed Dec 19, 2024
1 parent e4e6250 commit eaa0a20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions spec/support/jobseeker_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit eaa0a20

Please sign in to comment.