Skip to content

Commit

Permalink
Update lib/school_creator.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead authored May 8, 2024
1 parent dd2b879 commit 5d8e182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/school_creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.create_schools(number_of_schools, international: false)

school_ids = []
number_of_schools.times do
country = international ? available_countries.sample : ISO3166::Country["US"]
country = international ? available_countries.sample : ISO3166::Country["US"]
state = country.states.keys.sample
school = School.create!(
name: Faker::Educator.university,
Expand Down

0 comments on commit 5d8e182

Please sign in to comment.