Skip to content

Commit

Permalink
Update data generator task to run successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
neilvanbeinum committed May 15, 2018
1 parent 439aedb commit a32b33a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/tasks/data-generator.rake
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ namespace :data do
uk_citizenship: '1',
name: Faker::Name.name,
email: Faker::Internet.safe_email,
country: 'United Kingdom',
location_code: 'GB',
state: 'validated',
postcode: POSTCODES.sample

postcode: POSTCODES.sample,
creator: true
})
})

Expand All @@ -51,7 +51,7 @@ namespace :data do
uk_citizenship: '1',
name: Faker::Name.name,
email: Faker::Internet.safe_email("#{Faker::Lorem.characters(rand(10..40))}-#{rand(1..999999)}"),
country: 'United Kingdom',
location_code: 'GB',
state: 'validated',
postcode: POSTCODES.sample
)
Expand Down Expand Up @@ -91,7 +91,7 @@ namespace :data do
uk_citizenship: '1',
name: Faker::Name.name,
email: Faker::Internet.safe_email("#{Faker::Lorem.characters(rand(10..40))}-#{rand(1..999999)}"),
country: 'United Kingdom',
location_code: 'GB',
postcode: POSTCODES.sample
)
signature.validate!
Expand Down

0 comments on commit a32b33a

Please sign in to comment.