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!)