Sha256: 00ad52d7c100770d3c2afea98cd146e25412ef8eb7ba7859bb94edc82f6bce37
Contents?: true
Size: 733 Bytes
Versions: 6
Compression:
Stored size: 733 Bytes
Contents
shared_context 'groups' do include_context 'subscribers' let!(:first_group) { FactoryGirl.create( :group, title: 'First Group' ) } let!(:second_group) { FactoryGirl.create( :group, title: 'Second Group' ) } let!(:third_group) { FactoryGirl.create( :group, title: 'Third Group' ) } let!(:disabled_group) { FactoryGirl.create( :group, title: 'Disabled Group' ) } before do group_leader_subscriber.add_role(:owner, first_group) group_leader_subscriber.add_role(:owner, disabled_group) professional_subscriber.add_role(:owner, second_group) professional_subscriber.add_role(:owner, third_group) end end
Version data entries
6 entries across 6 versions & 1 rubygems