Sha256: c42e7e30ade121c7211c7f137c1c300cb6e08c911c589b5c1a89120c3da52930
Contents?: true
Size: 634 Bytes
Versions: 14
Compression:
Stored size: 634 Bytes
Contents
require "bosh-bootstrap/network" describe Bosh::Bootstrap::Network do include Bosh::Bootstrap::Cli::Helpers::Settings let(:aws_cyoi_provider_client) { instance_double("Cyoi::Providers::Clients::AwsProviderClient") } it "uses NetworkProvider if available" do network = Bosh::Bootstrap::Network.new("aws", aws_cyoi_provider_client, settings) expect(aws_cyoi_provider_client).to receive(:create_security_group).exactly(3).times network.deploy end it "does nothing if no NetworkProvider for the infrastructure" do network = Bosh::Bootstrap::Network.new("vsphere", nil, settings) network.deploy end end
Version data entries
14 entries across 14 versions & 1 rubygems