summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-31 11:54:09 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-31 11:54:09 +0200
commita7466af3a6f31311d64654631a2ea2740c42b88e (patch)
tree7eb1d3f63a73cc2d4cca13ba3640d16c7e654b98 /spec/features
parent600bbe15a103b63e14daa295abaffdf1aeafaef3 (diff)
downloadgitlab-ce-a7466af3a6f31311d64654631a2ea2740c42b88e.tar.gz
Improve code related to removing container image tags
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/container_registry_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/container_registry_spec.rb b/spec/features/container_registry_spec.rb
index 73b22fa1b7d..530e6af92d3 100644
--- a/spec/features/container_registry_spec.rb
+++ b/spec/features/container_registry_spec.rb
@@ -38,7 +38,8 @@ describe "Container Registry" do
end
it do
- expect_any_instance_of(ContainerRepository).to receive(:delete_tags).and_return(true)
+ expect_any_instance_of(ContainerRepository)
+ .to receive(:delete_tags!).and_return(true)
click_on 'Remove image'
end