spec/factories/picture.rb in social_stream-documents-0.13.2 vs spec/factories/picture.rb in social_stream-documents-0.14.0

- old
+ new

@@ -8,15 +8,15 @@ p.user_author_id { |q| q.author_id } end Factory.define :public_picture, :parent => :picture do |p| p.owner_id { |q| q.author_id } - p._relation_ids { |q| Array(Relation::Public.instance.id) } + p.relation_ids { |q| Array(Relation::Public.instance.id) } end Factory.define :private_picture, :parent => :picture do |p| p.file { Rack::Test::UploadedFile.new(File.join(File.dirname(__FILE__), 'files', 'privado.png'), 'image/png') } p.owner_id { |q| q.author_id } - p._relation_ids { |q| Actor.find(q.author_id).relation_customs.sort.first.id } + p.relation_ids { |q| Actor.find(q.author_id).relation_customs.sort.first.id } end