diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-23 15:54:59 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-23 15:54:59 +0100 |
commit | dcd2eeb1cfb633f4a28ddd9bc79deac0e3171d3f (patch) | |
tree | e0cc4860cdd544e666a12bd8b436419489c2d07a /spec/features/container_registry_spec.rb | |
parent | 3e01fed5cb36962065f5d19ab6a0cef1dfc14b48 (diff) | |
download | gitlab-ce-dcd2eeb1cfb633f4a28ddd9bc79deac0e3171d3f.tar.gz |
Rename container image to repository in specs
Diffstat (limited to 'spec/features/container_registry_spec.rb')
-rw-r--r-- | spec/features/container_registry_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/container_registry_spec.rb b/spec/features/container_registry_spec.rb index 0199d08ab63..88642f72772 100644 --- a/spec/features/container_registry_spec.rb +++ b/spec/features/container_registry_spec.rb @@ -5,15 +5,15 @@ describe "Container Registry" do let(:registry) { project.container_registry } let(:tag_name) { 'latest' } let(:tags) { [tag_name] } - let(:container_image) { create(:container_image) } - let(:image_name) { container_image.name } + let(:container_repository) { create(:container_repository) } + let(:image_name) { container_repository.name } before do login_as(:user) project.team << [@user, :developer] stub_container_registry_config(enabled: true) stub_container_registry_tags(*tags) - project.container_images << container_image unless container_image.nil? + project.container_repositories << container_repository unless container_repository.nil? allow(Auth::ContainerRegistryAuthenticationService).to receive(:full_access_token).and_return('token') end @@ -23,7 +23,7 @@ describe "Container Registry" do end context 'when no images' do - let(:container_image) { } + let(:container_repository) { } it { expect(page).to have_content('No container images in Container Registry for this project') } end |