Revision e399441b
Added by Ivan Necas almost 6 years ago
test/models/host_test.rb | ||
---|---|---|
host = FactoryBot.build(
|
||
:host,
|
||
:operatingsystem => operatingsystem,
|
||
:architecture => FactoryGirl.build(:architecture)
|
||
:architecture => FactoryBot.build(:architecture)
|
||
)
|
||
host.disk = "<%= template_name %> - <%= @osver %>"
|
||
assert host.save
|
Also available in: Unified diff
Fixes #21172 - address comments