Sha256: d666c849d72a3335186aff710c92c96eb2131287aaea94a4e31534a840645789

Contents?: true

Size: 228 Bytes

Versions: 93

Compression:

Stored size: 228 Bytes

Contents

Factory.define :comment do |p|
  p.sequence(:text)  { |n| "Comment #{ n }" }
  p._contact_id { Factory(:friend).contact_id }
  p._relation_ids { |q| Array(Contact.find(q._contact_id).sender.relation_customs.sort.first.id) }
end

Version data entries

93 entries across 93 versions & 2 rubygems

Version Path
social_stream-0.12.14 base/spec/factories/comment.rb
social_stream-base-0.9.36 spec/factories/comment.rb
social_stream-0.12.13 base/spec/factories/comment.rb
social_stream-base-0.9.35 spec/factories/comment.rb
social_stream-0.12.12 base/spec/factories/comment.rb
social_stream-base-0.9.34 spec/factories/comment.rb
social_stream-0.12.11 base/spec/factories/comment.rb
social_stream-base-0.9.33 spec/factories/comment.rb
social_stream-0.12.10 base/spec/factories/comment.rb
social_stream-base-0.9.32 spec/factories/comment.rb
social_stream-0.12.9 base/spec/factories/comment.rb
social_stream-base-0.9.31 spec/factories/comment.rb
social_stream-0.12.8 base/spec/factories/comment.rb
social_stream-base-0.9.30 spec/factories/comment.rb
social_stream-0.12.7 base/spec/factories/comment.rb
social_stream-base-0.9.29 spec/factories/comment.rb
social_stream-0.12.6 base/spec/factories/comment.rb
social_stream-0.12.5 base/spec/factories/comment.rb
social_stream-base-0.9.28 spec/factories/comment.rb
social_stream-0.12.4 base/spec/factories/comment.rb