Skip to content

Commit

Permalink
Fix flaky spec
Browse files Browse the repository at this point in the history
  • Loading branch information
elceebee committed Jul 9, 2024
1 parent 31a7fe9 commit d14ebb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/services/sample_applications_factory_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@

it 'assigns the correct hesa code for sex' do
if equality_and_diversity['sex'] == 'Prefer not to say'
expect(equality_and_diversity['hesa_sex']).to be '96'
expect(equality_and_diversity['hesa_sex']).to eq '96'
else
expect(equality_and_diversity['hesa_sex']).to eq(
Hesa::Sex.find(equality_and_diversity['sex'], RecruitmentCycle.current_year)['hesa_code'],
Expand Down

0 comments on commit d14ebb8

Please sign in to comment.