Sha256: 2f96804240e1878c5a6be598d799b2a440626648a7a695c7661bb223c9a371c7

Contents?: true

Size: 319 Bytes

Versions: 65

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :ansible_role do
    sequence(:name) { |n| "ansible_role_#{n}" }
  end

  factory :host_ansible_role do
    position { nil }
    host
    ansible_role
  end

  factory :hostgroup_ansible_role do
    position { nil }
    hostgroup
    ansible_role
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 test/factories/ansible_roles.rb
foreman_ansible-15.0.1 test/factories/ansible_roles.rb
foreman_ansible-15.0.0 test/factories/ansible_roles.rb
foreman_ansible-14.2.2 test/factories/ansible_roles.rb
foreman_ansible-14.2.1 test/factories/ansible_roles.rb
foreman_ansible-13.0.7 test/factories/ansible_roles.rb
foreman_ansible-14.2.0 test/factories/ansible_roles.rb
foreman_ansible-14.1.1 test/factories/ansible_roles.rb
foreman_ansible-14.1.0 test/factories/ansible_roles.rb
foreman_ansible-13.0.5 test/factories/ansible_roles.rb
foreman_ansible-14.0.0 test/factories/ansible_roles.rb
foreman_ansible-13.0.4 test/factories/ansible_roles.rb
foreman_ansible-13.0.3 test/factories/ansible_roles.rb
foreman_ansible-13.0.2 test/factories/ansible_roles.rb
foreman_ansible-13.0.1 test/factories/ansible_roles.rb
foreman_ansible-13.0.0 test/factories/ansible_roles.rb
foreman_ansible-12.0.7 test/factories/ansible_roles.rb
foreman_ansible-10.4.4 test/factories/ansible_roles.rb
foreman_ansible-7.1.8 test/factories/ansible_roles.rb
foreman_ansible-12.0.6 test/factories/ansible_roles.rb