Skip to content

Commit

Permalink
Fix test assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMacPherson committed Oct 24, 2024
1 parent 92c3d1e commit 3851351
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/system/jobseekers/jobseekers_can_save_a_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
save_job
sign_in_jobseeker_govuk_one_login(jobseeker)
and_the_job_is_saved
expect(page).not_to have_content "New teaching vacancies account created"
expect(page).not_to have_content "New Teaching Vacancies account created"
end
end
end
Expand All @@ -52,7 +52,7 @@
it "saves the job after signing in" do
save_job
sign_in_jobseeker_govuk_one_login(jobseeker)
expect(page).not_to have_content "New teaching vacancies account created"
expect(page).not_to have_content "New Teaching Vacancies account created"
end
end
end
Expand All @@ -68,7 +68,7 @@
it "saves the job after signing in" do
save_job
sign_in_jobseeker_govuk_one_login(jobseeker)
expect(page).to have_content "New teaching vacancies account created"
expect(page).to have_content "New Teaching Vacancies account created"
expect(page).to have_content "You have saved this job in your new Teaching Vacancies account."
end
end
Expand Down

0 comments on commit 3851351

Please sign in to comment.