BigW Consortium Gitlab

Commit d6f37a34 by Grzegorz Bizon

Fix feature specs related to container registry

parent 16e645c6
...@@ -5,7 +5,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController ...@@ -5,7 +5,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
layout 'project' layout 'project'
def index def index
@images = project.container_images @images = project.container_repositories
end end
def destroy def destroy
...@@ -44,7 +44,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController ...@@ -44,7 +44,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
end end
def image def image
@image ||= project.container_images.find_by(id: params[:id]) @image ||= project.container_repositories.find_by(id: params[:id])
end end
def tag def tag
......
...@@ -116,6 +116,7 @@ merge_access_levels: ...@@ -116,6 +116,7 @@ merge_access_levels:
push_access_levels: push_access_levels:
- protected_branch - protected_branch
container_repositories: container_repositories:
- project
- name - name
project: project:
- taggings - taggings
...@@ -201,7 +202,7 @@ project: ...@@ -201,7 +202,7 @@ project:
- project_authorizations - project_authorizations
- route - route
- statistics - statistics
- container_images - container_repositories
- uploads - uploads
award_emoji: award_emoji:
- awardable - 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