diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:42:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:42:06 +0300 |
commit | 6e4e1050d9dba2b7b2523fdd1768823ab85feef4 (patch) | |
tree | 78be5963ec075d80116a932011d695dd33910b4e /spec/finders/group_projects_finder_spec.rb | |
parent | 1ce776de4ae122aba3f349c02c17cebeaa8ecf07 (diff) |
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
Diffstat (limited to 'spec/finders/group_projects_finder_spec.rb')
-rw-r--r-- | spec/finders/group_projects_finder_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/finders/group_projects_finder_spec.rb b/spec/finders/group_projects_finder_spec.rb index 14f2bb017c6..c66fdb19260 100644 --- a/spec/finders/group_projects_finder_spec.rb +++ b/spec/finders/group_projects_finder_spec.rb @@ -51,7 +51,7 @@ RSpec.describe GroupProjectsFinder do let!(:shared_project_4) { create(:project, :internal, path: '8') } before do - shared_project_4.project_group_links.create(group_access: Gitlab::Access::REPORTER, group: group) + shared_project_4.project_group_links.create!(group_access: Gitlab::Access::REPORTER, group: group) end let(:params) { { min_access_level: Gitlab::Access::MAINTAINER } } @@ -76,7 +76,7 @@ RSpec.describe GroupProjectsFinder do context "with external user" do before do - current_user.update(external: true) + current_user.update!(external: true) end it { is_expected.to match_array([shared_project_2, shared_project_1]) } @@ -107,7 +107,7 @@ RSpec.describe GroupProjectsFinder do context "with external user" do before do - current_user.update(external: true) + current_user.update!(external: true) end context 'with subgroups projects' do |