Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 5.times do
- user = User.new(
- email: RandomData.random_space_email,
- password: 'teatea',
- password_confirmation: 'teatea'
- )
- user.skip_confirmation!
- user.save!
- end
- def self.random_space_email
- "#{@@names.sample}@#{@@space_words.sample}.#{@@space_words.sample}"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement