Commit d6f37a34 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix feature specs related to container registry

parent 16e645c6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment