Sha256: 0f4a9d7258380749969d824e5a998685b4836bf561d713d6550da8deeb77b26a

Contents?: true

Size: 238 Bytes

Versions: 12

Compression:

Stored size: 238 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :belong_to_cache_subnet_group do |cache_subnet_group_name|
  match do |type|
    return true if type.resource_via_client[:cache_subnet_group_name] == cache_subnet_group_name
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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