Sha256: c2a528c40d738f85f02bc5d5599b494bc73b6e37f4f546147695cb4079b092b8

Contents?: true

Size: 244 Bytes

Versions: 14

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :belong_to_db_subnet_group do |db_subnet_group_name|
  match do |type|
    return true if type.resource_via_client[:db_subnet_group][:db_subnet_group_name] == db_subnet_group_name
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
awspec-1.32.0 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.31.0 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.30.0 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.29.3 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.29.2 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.29.1 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.29.0 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.28.2 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.28.1 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.28.0 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.27.1 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.27.0 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.26.0 lib/awspec/matcher/belong_to_db_subnet_group.rb
awspec-1.25.2 lib/awspec/matcher/belong_to_db_subnet_group.rb