Revision c4bfd47f
Added by Stephen Benjamin over 10 years ago
test/unit/host_observer_test.rb | ||
---|---|---|
host = Host.create! :name => "foo", :mac => "aabbeeddccff", :ip => "2.3.4.244", :managed => true,
|
||
:build => true, :architecture => architectures(:x86_64), :environment => Environment.first, :puppet_proxy_id => smart_proxies(:one).id,
|
||
:domain => Domain.first, :operatingsystem => operatingsystems(:redhat), :subnet => subnets(:one),
|
||
:url_options => {:host => 'foreman', :protocol => "http://"}
|
||
:root_pass => "xybxa6JUkz63w", :url_options => {:host => 'foreman', :protocol => "http://"}
|
||
end
|
||
|
||
assert host.token.try(:value).present?
|
Also available in: Unified diff
fixes #3725, #4167 - root password validations, remove default password