Project

General

Profile

« Previous | Next » 

Revision b8c2ee91

Added by Dominic Cleal about 10 years ago

fixes #4597 - map host disassociate actions to permission

(cherry picked from commit 084f755456f522caa5a896689fe72b3c502efb03)

View differences:

test/factories/host_related.rb
FactoryGirl.create(:host_parameter, :host => host)
end
end
trait :on_compute_resource do
uuid Foreman.uuid
association :compute_resource, :factory => :ec2_cr
after_build { |host| host.class.skip_callback(:validation, :after, :queue_compute) }
end
end
factory :hostgroup do

Also available in: Unified diff