You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
354 B
15 lines
354 B
# more sample users |
|
users = [User.find_by_email('user@entrydns.net')] |
|
for i in 1..3 do |
|
name = "user#{i}" |
|
user = User.new( |
|
:full_name => name, |
|
:email => "#{name}@entrydns.net", |
|
:password => 'useruser', |
|
:password_confirmation => 'useruser' |
|
) |
|
user.confirmed_at = Time.now |
|
user.save! |
|
user.confirm! |
|
users << user unless i > 3 |
|
end |