Sha256: be16a9cfb1c1320894049efd4a1e597c53696c37f0c683148d197a4d1a2cf129

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

FactoryGirl.define do
  factory :base_image, :class => Tim::BaseImage do
    name "test base image"
    description "description of test image"
  end

  factory :base_image_with_template, :parent => :base_image do
    association :template, :factory => :template
  end

  factory :base_image_import, :parent => :base_image do
    import true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tim-0.3.0 spec/factories/tim/base_image.rb
tim-0.2.0 spec/factories/tim/base_image.rb