Sha256: aeb437a250deb5a3bcfba1dbd77b6dabc12df1ce9ea6100afdedca9661384afa

Contents?: true

Size: 272 Bytes

Versions: 1

Compression:

Stored size: 272 Bytes

Contents

FactoryGirl.define do

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

  factory :standalone_resource2 , :parent => :standalone_resource do
    name 'Test standalone resoource'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 spec/factories/standalone_resource.rb~