Sha256: 29cace81f584dae72e4b1c93da189edb64ef8442da02ad8cf25501c5b021dce1

Contents?: true

Size: 724 Bytes

Versions: 90

Compression:

Stored size: 724 Bytes

Contents

Shindo.tests("AWS::RDS | tagging", ['aws', 'rds']) do

  @server = Fog::AWS[:rds].servers.create(rds_default_server_params)
  Formatador.display_line "Creating RDS instance #{@server.id}"
  Formatador.display_line "Waiting for instance #{@server.id} to be ready"
  @server.wait_for { ready? }

  tags1 = {'key1' => 'val1'}
  tags2 = {'key2' => 'val2'}

  tests "add and remove tags from a running RDS model" do
    returns({})                 { @server.tags }
    returns(tags1)              { @server.add_tags tags1 }
    returns(tags1.merge tags2)  { @server.add_tags tags2 }
    returns(tags2)              { @server.remove_tags tags1.keys  }
    returns(tags2)              { @server.tags }
  end

  @server.destroy
end

Version data entries

90 entries across 90 versions & 12 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/aws/models/rds/tagging_tests.rb
fog-aws-0.0.7 tests/models/rds/tagging_tests.rb
fog-aws-0.0.6 tests/models/rds/tagging_tests.rb
fog-aws-0.0.5 tests/models/rds/tagging_tests.rb
fog-1.26.0 tests/aws/models/rds/tagging_tests.rb
fog-1.25.0 tests/aws/models/rds/tagging_tests.rb
nsidc-fog-1.24.1 tests/aws/models/rds/tagging_tests.rb
fog-1.24.0 tests/aws/models/rds/tagging_tests.rb
ns-fog-1.22.11 tests/aws/models/rds/tagging_tests.rb
ns-fog-1.22.10 tests/aws/models/rds/tagging_tests.rb
ns-fog-1.22.9 tests/aws/models/rds/tagging_tests.rb
ns-fog-1.22.8 tests/aws/models/rds/tagging_tests.rb
ns-fog-1.22.7 tests/aws/models/rds/tagging_tests.rb
ns-fog-1.22.6 tests/aws/models/rds/tagging_tests.rb
fog-1.23.0 tests/aws/models/rds/tagging_tests.rb
ns-fog-1.22.4 tests/aws/models/rds/tagging_tests.rb
ns-fog-1.22.3 tests/aws/models/rds/tagging_tests.rb
ns-fog-1.22.2 tests/aws/models/rds/tagging_tests.rb
fog-1.22.1 tests/aws/models/rds/tagging_tests.rb
fog-1.22.0 tests/aws/models/rds/tagging_tests.rb