Lines Matching refs:create
20 let(:owner) { create :user }
21 let(:permission) { create(:permission, subject: owner, role: 'owner') }
35 other_permission = create(:permission, subject: owner, role: role)
42 let(:other_owner) { create(:user) }
44 create(:permission, subject: other_owner, role: 'owner', item: permission.item)
58 let(:repository) { create :repository }
61 let(:admin) { create :admin }
71 let(:permission) { create :permission, item: repository }
82 create :permission,
96 let(:team_user) { create :team_user }
98 create :permission,
118 let(:team_user) { create :team_user }
119 let(:permission) { create :permission, item: repository }
129 let(:user) { create :user }