Sha256: c4260cb5df747bceb7b69f6855c7960925d6b26e41385d125c602c473d4562ff

Contents?: true

Size: 246 Bytes

Versions: 20

Compression:

Stored size: 246 Bytes

Contents

FactoryGirl.define do
  factory :container do
    sequence(:name) { |n| "container_#{n}" }
    association :compute_resource, :factory => :docker_cr
    sequence(:repository_name) { |n| "repo#{n}" }
    sequence(:tag) { |n| "tag#{n}" }
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
foreman_docker-3.2.1 test/factories/containers.rb
foreman_docker-3.2.0 test/factories/containers.rb
foreman_docker-3.1.0 test/factories/containers.rb
foreman_docker-3.0.0 test/factories/containers.rb
foreman_docker-2.1.1 test/factories/containers.rb
foreman_docker-2.1.0 test/factories/containers.rb
foreman_docker-2.0.1 test/factories/containers.rb
foreman_docker-2.0.0 test/factories/containers.rb
foreman_docker-1.4.1 test/factories/containers.rb
foreman_docker-1.4.0 test/factories/containers.rb
foreman_docker-1.3.1 test/factories/containers.rb
foreman_docker-1.3.0 test/factories/containers.rb
foreman_docker-1.2.4 test/factories/containers.rb
foreman_docker-1.2.3 test/factories/containers.rb
foreman_docker-1.2.2 test/factories/containers.rb
foreman_docker-1.2.1 test/factories/containers.rb
foreman_docker-1.2.0 test/factories/containers.rb
foreman_docker-1.1.0 test/factories/containers.rb
foreman_docker-1.0.1 test/factories/containers.rb
foreman_docker-1.0.0 test/factories/containers.rb