diff options
author | Robert Speicher <robert@gitlab.com> | 2016-10-03 11:48:47 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-10-03 11:48:47 +0300 |
commit | 7134599860651cc0f502581c97853a26f2fb4471 (patch) | |
tree | 7752bbdb8be5f8f2c6d9f2908c0f4e10b8317dd1 | |
parent | f2c0f8237124d2dc539120bd77f301f216453cb7 (diff) | |
parent | 72da67485ff7ca430d8f09b7d7f28b4f54d33215 (diff) |
Merge branch 'fix-broken-access_requests_finder_spec' into 'master'
Fix broken specs after merging !6265
See merge request !6647
-rw-r--r-- | spec/finders/access_requests_finder_spec.rb | 4 | ||||
-rw-r--r-- | spec/models/member_spec.rb | 2 |
2 files changed, 3 insertions, 3 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) diff --git a/spec/models/member_spec.rb b/spec/models/member_spec.rb index bda23eaed43..485121701af 100644 --- a/spec/models/member_spec.rb +++ b/spec/models/member_spec.rb @@ -174,7 +174,7 @@ describe Member, models: true do describe '.add_user' do %w[project group].each do |source_type| context "when source is a #{source_type}" do - let!(:source) { create(source_type) } + let!(:source) { create(source_type, :public) } let!(:user) { create(:user) } let!(:admin) { create(:admin) } |