Revision 9fb80abe
Added by Ondřej Pražák over 7 years ago
test/factories/hostgroup_factory.rb | ||
---|---|---|
1 | 1 |
FactoryGirl.define do |
2 | 2 |
factory :pipeline_hostgroup, :class => Hostgroup do |
3 | 3 |
sequence(:name) { |n| "hostgroup#{n}" } |
4 |
compute_profile |
|
5 | 4 |
end |
6 | 5 |
end |
Also available in: Unified diff
making promoting decisions more robust