Revision 4cbb4a26
Added by Tom Caspy over 9 years ago
test/unit/host_test.rb | ||
---|---|---|
disable_orchestration
|
||
User.current = users :admin
|
||
Setting[:token_duration] = 0
|
||
Foreman::Model::EC2.any_instance.stubs(:image_exists?).returns(true)
|
||
end
|
||
|
||
test "should not save without a hostname" do
|
Also available in: Unified diff
fixes #6098 - ec2 compute resources now check image validity.