summaryrefslogtreecommitdiff
path: root/spec/finders
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-10-03 10:01:02 +0200
committerRémy Coutable <remy@rymai.me>2016-10-03 10:06:40 +0200
commit72da67485ff7ca430d8f09b7d7f28b4f54d33215 (patch)
tree7752bbdb8be5f8f2c6d9f2908c0f4e10b8317dd1 /spec/finders
parentf2c0f8237124d2dc539120bd77f301f216453cb7 (diff)
downloadgitlab-ce-72da67485ff7ca430d8f09b7d7f28b4f54d33215.tar.gz
Members::RequestAccessService is tricter on permissions
Fortunately, only specs needed to be fixed, so that's good! Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/access_requests_finder_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/finders/access_requests_finder_spec.rb b/spec/finders/access_requests_finder_spec.rb
index 6cc90299417..626513200e4 100644
--- a/spec/finders/access_requests_finder_spec.rb
+++ b/spec/finders/access_requests_finder_spec.rb
@@ -3,8 +3,8 @@ require 'spec_helper'
describe AccessRequestsFinder, services: true do
let(:user) { create(:user) }
let(:access_requester) { create(:user) }
- let(:project) { create(:project) }
- let(:group) { create(:group) }
+ let(:project) { create(:project, :public) }
+ let(:group) { create(:group, :public) }
before do
project.request_access(access_requester)