Project

General

Profile

Revision 9fb80abe

Added by Ondřej Pražák over 7 years ago

making promoting decisions more robust

View differences:

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