diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-08-07 17:29:34 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-08-07 17:29:34 +0800 |
commit | 64aa9e21b254e1f03e55d359e8fe9a349c660b43 (patch) | |
tree | cf7de617c032c8abad0eea1d696d1d9d2d3c3d8a /spec/services/auth | |
parent | fa5575cf4b37c50d1e757e7ef1fcc3172ac6c1a5 (diff) | |
download | gitlab-ce-64aa9e21b254e1f03e55d359e8fe9a349c660b43.tar.gz |
Rename user_can_admin? because it's more accurateadd-star-for-action-scope
Also fix the test because we no longer have :empty_project,
just use :project is the same as before
Diffstat (limited to 'spec/services/auth')
-rw-r--r-- | spec/services/auth/container_registry_authentication_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/auth/container_registry_authentication_service_spec.rb b/spec/services/auth/container_registry_authentication_service_spec.rb index 0e7d802e336..1c2d0b3e0dc 100644 --- a/spec/services/auth/container_registry_authentication_service_spec.rb +++ b/spec/services/auth/container_registry_authentication_service_spec.rb @@ -315,7 +315,7 @@ describe Auth::ContainerRegistryAuthenticationService do end context 'delete authorized as master' do - let(:current_project) { create(:empty_project) } + let(:current_project) { create(:project) } let(:current_user) { create(:user) } let(:authentication_abilities) do |