From 329808ae04b0d6b975d9d1272fc7bbc26faef2ee Mon Sep 17 00:00:00 2001 From: Rafael Gomes Date: Fri, 19 Jan 2024 10:10:18 -0300 Subject: [PATCH] test: fix specs --- spec/command/copy_image_from_upstream_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/command/copy_image_from_upstream_spec.rb b/spec/command/copy_image_from_upstream_spec.rb index 1061c5c3..b5059c17 100644 --- a/spec/command/copy_image_from_upstream_spec.rb +++ b/spec/command/copy_image_from_upstream_spec.rb @@ -8,6 +8,7 @@ allow(ENV).to receive(:fetch).with("CPLN_ENDPOINT", "https://api.cpln.io").and_return("https://api.cpln.io") allow(ENV).to receive(:fetch).with("CPLN_TOKEN", nil).and_return("token") allow(ENV).to receive(:fetch).with("CPLN_ORG", nil).and_return(nil) + allow(ENV).to receive(:fetch).with("CPLN_ORG_UPSTREAM", nil).and_return(nil) allow(ENV).to receive(:fetch).with("CPLN_APP", nil).and_return(nil) allow_any_instance_of(Config).to receive(:config_file_path).and_return("spec/fixtures/config.yml") allow_any_instance_of(described_class).to receive(:ensure_docker_running!)