Sha256: 8f1be6e7ebc8aa1f53a38ac5233aef63273f4c108a90ebcf71e84683cf2e6511
Contents?: true
Size: 890 Bytes
Versions: 24
Compression:
Stored size: 890 Bytes
Contents
after :users do first_user = User.friendly.find('first-user') second_user = User.friendly.find('second-user') fourth_user = User.friendly.find('fourth-user') unsubscribed_user = User.friendly.find('unsubscribed-user') first_group = FactoryGirl.create( :group, title: 'First Group', owner: first_user ) fourth_user.add_role(:member, first_group) unsubscribed_user.add_role(:member, first_group) membered_group = FactoryGirl.create( :group, title: 'Membered Group', owner: second_user ) first_user.add_role(:member, membered_group) unsubscribed_user.add_role(:member, membered_group) FactoryGirl.create( :group, title: 'Empty Group', owner: first_user ) unsubscribed_group = FactoryGirl.create( :group, title: 'Unsubscribed Group', owner: second_user ) first_user.add_role(:member, unsubscribed_group) end
Version data entries
24 entries across 24 versions & 1 rubygems