Sha256: 9cc53378af1f4621e713d1a22c456d71cba2b39004aa7282c341292c621d8b2c
Contents?: true
Size: 400 Bytes
Versions: 16
Compression:
Stored size: 400 Bytes
Contents
FactoryGirl.define do sequence :rand_name do |n| "foo#{(n + (n+rand)).to_s[2..6]}" end factory :basket do name "MyString" end factory :fruit_basket do fruit basket end factory :fruit do name "MyString" region end factory :region do name "MyString" end factory :type do |f| f.sequence(:name) {FactoryGirl.generate(:rand_name)} end end
Version data entries
16 entries across 16 versions & 1 rubygems