Sha256: 3450e0b4619651c7b44ef8abb2e728088997abf7d20279fe8ad79588f4357478
Contents?: true
Size: 425 Bytes
Versions: 129
Compression:
Stored size: 425 Bytes
Contents
Factory.define :contact do |c| c.sender { |s| Factory(:user).actor } c.receiver { |r| Factory(:user).actor } end Factory.define :self_contact, :parent => :contact do |c| c.receiver { |d| d.sender } end Factory.define :group_contact, :parent => :contact do |g| g.sender { |s| Factory(:group).actor } end Factory.define :g2g_contact, :parent => :group_contact do |g| g.receiver { |r| Factory(:group).actor } end
Version data entries
129 entries across 129 versions & 4 rubygems