Merge branch 'fix-broken-access_requests_finder_spec' into 'master'
Fix broken specs after merging !6265 See merge request !6647
This commit is contained in:
commit
7134599860
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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) }
|
||||
|
||||
|
|
Loading…
Reference in a new issue