|
|
|
@ -5,9 +5,9 @@ admin = User.create(
|
|
|
|
|
:last_name => 'admin', |
|
|
|
|
:email => 'admin@entrydns.net', |
|
|
|
|
:password => 'garlik1', |
|
|
|
|
:password_confirmation => 'garlik1' |
|
|
|
|
:password_confirmation => 'garlik1', |
|
|
|
|
:confirmed_at => Time.now |
|
|
|
|
) |
|
|
|
|
admin.confirm! |
|
|
|
|
|
|
|
|
|
for name in Settings.host_domains |
|
|
|
|
entrudns_org = Domain.new(:name => name, :type => 'NATIVE', :user_id => admin.id) |
|
|
|
@ -21,6 +21,6 @@ user = User.create!(
|
|
|
|
|
:last_name => 'user', |
|
|
|
|
:email => 'user@entrydns.net', |
|
|
|
|
:password => 'useruser', |
|
|
|
|
:password_confirmation => 'useruser' |
|
|
|
|
:password_confirmation => 'useruser', |
|
|
|
|
:confirmed_at => Time.now |
|
|
|
|
) |
|
|
|
|
user.confirm! |
|
|
|
|