-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Devan
committed
Oct 24, 2017
1 parent
8a19666
commit 61753c6
Showing
5 changed files
with
47 additions
and
12 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,50 @@ | |
puts 'CREATED ADMIN USER: ' << user.email | ||
|
||
|
||
password = 'pass123' | ||
4.times do | ||
u = User.create( | ||
name: Faker::StarWars.character, | ||
email: Faker::StarWars.specie+"@yahoo.com", | ||
password: password, | ||
password_confirmation: password, | ||
quote: Faker::StarWars.quote, | ||
) | ||
puts "Created #{u.email}, who says: #{u.quote}." | ||
|
||
end | ||
password = 'pass1234' | ||
|
||
devan = User.create( | ||
name: "Devan Moylan", | ||
email: "[email protected]", | ||
password: password, | ||
password_confirmation: password, | ||
quote: "Welcome to Star Support! Yeesssssss! Free to talk to any of our star support droids or use two browsers to experience Asynchronous Chat with ActionCable chat with yourself, you are. Yeesssssss! Yeesssssss! A user of a new message if the user doesn't have an opened window or it's minimized, you'll notice functionality to notify." | ||
) | ||
|
||
puts "Created #{ devan.name}, who says: #{ devan.quote}." | ||
|
||
c_3po = User.create( | ||
name: "C-3PO", | ||
email: "[email protected]", | ||
password: password, | ||
password_confirmation: password, | ||
quote: "Don't blame me. I'm an interpreter. I'm not supposed to know a power socket from a computer terminal.", | ||
) | ||
puts "Created #{ c_3po.name}, who says: #{ c_3po.quote}." | ||
|
||
r2_d2 = User.create( | ||
name: "R2-D2", | ||
email: "[email protected]", | ||
password: password, | ||
password_confirmation: password, | ||
quote: "Wuup woob, weepwoopwub... waaaaaargh.", | ||
) | ||
puts "Created #{ r2_d2.name}, who says: #{ r2_d2.quote}." | ||
|
||
chooper = User.create( | ||
name: "Chooper", | ||
email: "[email protected]", | ||
password: password, | ||
password_confirmation: password, | ||
quote: "Bleep Bleep Bloop.", | ||
) | ||
puts "Created #{ chooper.name}, who says: #{ chooper.quote}." | ||
|
||
r2_kt = User.create( | ||
name: "R2-KT", | ||
email: "[email protected]", | ||
password: password, | ||
password_confirmation: password, | ||
quote: "Beep bloop blop bleep boop.", | ||
) | ||
puts "Created #{ r2_kt.name}, who says: #{ r2_kt.quote}." |