Fix feature specs related to container registry
This commit is contained in:
parent
16e645c656
commit
d6f37a34c1
|
@ -5,7 +5,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
|
|||
layout 'project'
|
||||
|
||||
def index
|
||||
@images = project.container_images
|
||||
@images = project.container_repositories
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
@ -44,7 +44,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
|
|||
end
|
||||
|
||||
def image
|
||||
@image ||= project.container_images.find_by(id: params[:id])
|
||||
@image ||= project.container_repositories.find_by(id: params[:id])
|
||||
end
|
||||
|
||||
def tag
|
||||
|
|
|
@ -116,6 +116,7 @@ merge_access_levels:
|
|||
push_access_levels:
|
||||
- protected_branch
|
||||
container_repositories:
|
||||
- project
|
||||
- name
|
||||
project:
|
||||
- taggings
|
||||
|
@ -201,7 +202,7 @@ project:
|
|||
- project_authorizations
|
||||
- route
|
||||
- statistics
|
||||
- container_images
|
||||
- container_repositories
|
||||
- uploads
|
||||
award_emoji:
|
||||
- awardable
|
||||
|
|
Loading…
Reference in New Issue