Project

General

Profile

« Previous | Next » 

Revision ba64f022

Added by Marek Hulán about 9 years ago

Fixes #10442 - dry up host managed logic

View differences:

test/factories/host_related.rb
type 'GroupParameter'
end
factory :nic_base do
factory :nic_base, :class => Nic::Base do
type 'Nic::Base'
sequence(:identifier) { |n| "eth#{n}" }
sequence(:mac) { |n| "00:00:00:00:" + n.to_s(16).rjust(4, '0').insert(2, ':') }
end

Also available in: Unified diff