diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-06 04:04:11 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-07 05:20:16 +0300 |
commit | a475411f4380ef4d0260940206e2553da3b2f3ee (patch) | |
tree | f9e67c7dc2476f57fdf30a2a9e55eb323759d0b6 /spec/lib | |
parent | 2c6c61815edada16c4477c938209c24c647e1798 (diff) |
Fixes broken schema and minor changes
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/auth_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/auth_spec.rb b/spec/lib/gitlab/auth_spec.rb index db517c25ef4..7be888d812f 100644 --- a/spec/lib/gitlab/auth_spec.rb +++ b/spec/lib/gitlab/auth_spec.rb @@ -264,7 +264,7 @@ describe Gitlab::Auth do let(:deploy_token) { create(:deploy_token, read_registry: false, projects: [project]) } it 'succeeds when project is present, token is valid and has read_repository as scope' do - abilities = %i(read_project download_code) + abilities = %i(download_code) auth_success = Gitlab::Auth::Result.new(deploy_token, project, :deploy_token, abilities) expect(gl_auth).to receive(:rate_limit!).with('ip', success: true, login: '') |