Sha256: 51cae790bc8c99424a5dc85403901630b5dac68b4402cbdb68bce0a3b122b1f1

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

FactoryGirl.define do

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

  factory :parent_resource2, :parent => :parent_resource do |u|
    sequence(:name) { |n| "parent_resource_test" }
    description 'The Description'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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