Sha256: c9d3f25adc583b5dfde61b832a2c92a9d30ded3d0e86f7b2cac27a7af5028def

Contents?: true

Size: 389 Bytes

Versions: 8

Compression:

Stored size: 389 Bytes

Contents

Shindo.tests('Fog::DNS[:aws] | change_resource_record_sets', ['aws', 'dns']) do
  @r53_connection = Fog::DNS[:aws]

  tests('success') do
    test('#elb_hosted_zone_mapping from DNS name') do
      zone_id = Fog::DNS::AWS.hosted_zone_for_alias_target('arbitrary-sub-domain.eu-west-1.elb.amazonaws.com')
      zone_id == Fog::DNS::AWS.elb_hosted_zone_mapping['eu-west-1']
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fog-aws-0.6.0 tests/requests/dns/change_resource_record_sets_tests.rb
fog-aws-0.5.0 tests/requests/dns/change_resource_record_sets_tests.rb
fog-aws-0.4.1 tests/requests/dns/change_resource_record_sets_tests.rb
fog-aws-0.4.0 tests/requests/dns/change_resource_record_sets_tests.rb
fog-aws-0.3.0 tests/requests/dns/change_resource_record_sets_tests.rb
fog-aws-0.2.2 tests/requests/dns/change_resource_record_sets_tests.rb
fog-aws-0.2.0 tests/requests/dns/change_resource_record_sets_tests.rb
fog-aws-0.1.2 tests/requests/dns/change_resource_record_sets_tests.rb