diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-12-04 14:55:49 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-12-04 14:55:49 +0300 |
commit | 6ed50b62e739a438676653acfc9b7718b83b6f00 (patch) | |
tree | 664138a791b1d0986920275d0dcb012db5018d7c /spec/requests | |
parent | 87186cbc922465875e299ed761ed4d6143ae501a (diff) |
CE port Refactor Gitlab::Checks::ChangeAccess class
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/git_http_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/git_http_spec.rb b/spec/requests/git_http_spec.rb index c71eae9164a..0dc459d9b5a 100644 --- a/spec/requests/git_http_spec.rb +++ b/spec/requests/git_http_spec.rb @@ -302,7 +302,7 @@ describe 'Git HTTP requests' do it 'rejects pushes with 403 Forbidden' do upload(path, env) do |response| expect(response).to have_gitlab_http_status(:forbidden) - expect(response.body).to eq(change_access_error(:push_code)) + expect(response.body).to eq('You are not allowed to push code to this project.') end end |