Sha256: 3d557f80f25b91e79eda2664f4927cc9c8674bff46c2c2a89d2e295a8d22ee65

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

FactoryGirl.define do

  factory :global_resource do |u|
    sequence(:name) { |n| "global_resource#{n}" }
    description 'The Description'
  end

  factory :global_resource2 , :parent => :global_resource do
    name 'Test global resoource'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 spec/factories/global_resource.rb