Sha256: 3694e1ffe49079e62e1d0bd1f4ed2c36c165fd95fba3ef78a3857ee9e0aea23d

Contents?: true

Size: 329 Bytes

Versions: 10

Compression:

Stored size: 329 Bytes

Contents

Factory.define :pose_word do |word|
  word.text { Faker::Lorem.words(1).first }
end

Factory.define :pose_assignment do |assignment|
  assignment.association :pose_word
  assignment.association :posable, :factory => :posable_one
end

Factory.define :posable_one do |posable|
  posable.text { Faker::Lorem.words(3).join ' ' }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pose-1.1.0 spec/factories.rb
pose-1.0.0 spec/factories.rb
pose-0.3 spec/factories.rb
pose-0.2.6 spec/factories.rb
pose-0.2.5 spec/factories.rb
pose-0.2.4 spec/factories.rb
pose-0.2.3 spec/factories.rb
pose-0.2.2 spec/factories.rb
pose-0.2.1 spec/factories.rb
pose-0.2 spec/factories.rb