Project

General

Profile

Download (246 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman-docker / test / factories / containers.rb @ ef3feba4

1
FactoryGirl.define do
2
  factory :container do
3
    sequence(:name) { |n| "container_#{n}" }
4
    association :compute_resource, :factory => :docker_cr
5
    sequence(:repository_name) { |n| "repo#{n}" }
6
    sequence(:tag) { |n| "tag#{n}" }
7
  end
8
end