Sha256: b40421864263dbc5d629bb062a01b0ada7020f13b7293ff7ed9c8912782bc21c

Contents?: true

Size: 918 Bytes

Versions: 28

Compression:

Stored size: 918 Bytes

Contents

Shindo.tests("Fog::Compute[:aws] | vpc", ['aws']) do

  model_tests(Fog::Compute[:aws].vpcs, {:cidr_block => '10.0.10.0/28'}, true) do
    tests("#enable_classic_link") do
      returns(false) { @instance.classic_link_enabled? }
      returns(true)  { @instance.enable_classic_link }
      returns(true)  { @instance.classic_link_enabled? }
    end

    tests("#disable_classic_link") do
      returns(true)  { @instance.disable_classic_link }
      returns(false) { @instance.classic_link_enabled? }
    end

    tests("#enable_classic_link_dns") do
      returns(false) { @instance.classic_link_dns_enabled? }
      returns(true)  { @instance.enable_classic_link_dns }
      returns(true)  { @instance.classic_link_dns_enabled? }
    end

    tests("#disable_classic_link") do
      returns(true)  { @instance.disable_classic_link_dns }
      returns(false) { @instance.classic_link_dns_enabled? }
    end
  end
end

Version data entries

28 entries across 26 versions & 2 rubygems

Version Path
fog-aws-3.12.0 tests/models/compute/vpc_tests.rb
fog-aws-3.11.0 tests/models/compute/vpc_tests.rb
fog-aws-3.10.0 tests/models/compute/vpc_tests.rb
fog-aws-3.9.0 tests/models/compute/vpc_tests.rb
fog-aws-3.8.0 tests/models/compute/vpc_tests.rb
fog-aws-3.7.0 tests/models/compute/vpc_tests.rb
fog-aws-3.6.7 tests/models/compute/vpc_tests.rb
fog-aws-3.6.6 tests/models/compute/vpc_tests.rb
fog-aws-3.6.5 tests/models/compute/vpc_tests.rb
fog-aws-3.6.4 tests/models/compute/vpc_tests.rb
fog-aws-3.6.3 tests/models/compute/vpc_tests.rb
fog-aws-3.6.2 tests/models/compute/vpc_tests.rb
fog-aws-3.5.2 tests/models/compute/vpc_tests.rb
fog-aws-3.5.1 tests/models/compute/vpc_tests.rb
fog-aws-3.5.0 tests/models/compute/vpc_tests.rb
fog-aws-3.4.0 tests/models/compute/vpc_tests.rb
fog-aws-3.3.0 tests/models/compute/vpc_tests.rb
fog-aws-3.2.0 tests/models/compute/vpc_tests.rb
fog-aws-3.1.0 tests/models/compute/vpc_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/tests/models/compute/vpc_tests.rb