Skip to content

Commit

Permalink
Remove deprecation and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
yannis committed Apr 14, 2024
1 parent 930cb06 commit cc60913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/factories/personal_infos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
residential_country { ISO3166::Country.all.map(&:alpha2).sample }
origin_country { ISO3166::Country.all.map(&:alpha2).sample }
document_type { %w[passport id_card].sample }
document_number { Faker::IDNumber.valid }
document_number { Faker::IdNumber.valid }
email { Faker::Internet.email }
end
end
2 changes: 1 addition & 1 deletion spec/models/team_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
it { expect(described_class.incomplete.all).to include(team) }
it { expect(described_class.incomplete).to eq [team] }
it { expect(team.participations.count).to eq 1 }
it { expect(team.fitness).to eq 0.1364 }
it { expect(team.fitness).to eq 0.1429 }
it { expect(described_class.empty.to_a).not_to include(team) }
end

Expand Down

0 comments on commit cc60913

Please sign in to comment.