|
|
@ -1,6 +1,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
# an user for administrative purposes |
|
|
|
# an user for administrative purposes |
|
|
|
admin = User.create( |
|
|
|
admin = User.create( |
|
|
|
|
|
|
|
:first_name => 'admin', |
|
|
|
|
|
|
|
:last_name => 'admin', |
|
|
|
:email => 'admin@entrydns.com', |
|
|
|
:email => 'admin@entrydns.com', |
|
|
|
:password => 'garlik1', |
|
|
|
:password => 'garlik1', |
|
|
|
:password_confirmation => 'garlik1' |
|
|
|
:password_confirmation => 'garlik1' |
|
|
@ -14,7 +16,9 @@ for name in Settings.host_domains |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
# sample user |
|
|
|
# sample user |
|
|
|
user = User.create( |
|
|
|
user = User.create!( |
|
|
|
|
|
|
|
:first_name => 'user', |
|
|
|
|
|
|
|
:last_name => 'user', |
|
|
|
:email => 'user@app.com', |
|
|
|
:email => 'user@app.com', |
|
|
|
:password => 'useruser', |
|
|
|
:password => 'useruser', |
|
|
|
:password_confirmation => 'useruser' |
|
|
|
:password_confirmation => 'useruser' |
|
|
|