diff options
Diffstat (limited to 'spec/features/projects/members/user_requests_access_spec.rb')
-rw-r--r-- | spec/features/projects/members/user_requests_access_spec.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/features/projects/members/user_requests_access_spec.rb b/spec/features/projects/members/user_requests_access_spec.rb index 6f76424e377..9af36b4b2a9 100644 --- a/spec/features/projects/members/user_requests_access_spec.rb +++ b/spec/features/projects/members/user_requests_access_spec.rb @@ -38,9 +38,11 @@ RSpec.describe 'Projects > Members > User requests access', :js, feature_categor context 'code access is restricted' do it 'user can request access' do - project.project_feature.update!(repository_access_level: ProjectFeature::PRIVATE, - builds_access_level: ProjectFeature::PRIVATE, - merge_requests_access_level: ProjectFeature::PRIVATE) + project.project_feature.update!( + repository_access_level: ProjectFeature::PRIVATE, + builds_access_level: ProjectFeature::PRIVATE, + merge_requests_access_level: ProjectFeature::PRIVATE + ) visit project_path(project) expect(page).to have_content 'Request Access' |