diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-23 17:54:59 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-23 17:54:59 +0300 |
commit | dcd2eeb1cfb633f4a28ddd9bc79deac0e3171d3f (patch) | |
tree | e0cc4860cdd544e666a12bd8b436419489c2d07a /spec/models/namespace_spec.rb | |
parent | 3e01fed5cb36962065f5d19ab6a0cef1dfc14b48 (diff) |
Rename container image to repository in specs
Diffstat (limited to 'spec/models/namespace_spec.rb')
-rw-r--r-- | spec/models/namespace_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/namespace_spec.rb b/spec/models/namespace_spec.rb index d22447c602f..bc70c6f4aa2 100644 --- a/spec/models/namespace_spec.rb +++ b/spec/models/namespace_spec.rb @@ -149,13 +149,13 @@ describe Namespace, models: true do end context "when any project has container images" do - let(:container_image) { create(:container_image) } + let(:container_repository) { create(:container_repository) } before do stub_container_registry_config(enabled: true) stub_container_registry_tags('tag') - create(:empty_project, namespace: @namespace, container_images: [container_image]) + create(:empty_project, namespace: @namespace, container_repositories: [container_repository]) allow(@namespace).to receive(:path_was).and_return(@namespace.path) allow(@namespace).to receive(:path).and_return('new_path') |