Sha256: 4a63655e661cf7d7d81b1205825b603929d1a8f3899f17348401caeccde7ce0f

Contents?: true

Size: 261 Bytes

Versions: 72

Compression:

Stored size: 261 Bytes

Contents

RSpec::Matchers.define :belong_to_nlb do |nlb_arn|
  match do |type|
    return true if type.load_balancer_arns.include?(nlb_arn)
    ret = type.find_nlb(nlb_arn)
    return false unless ret
    type.load_balancer_arns.include?(ret.load_balancer_arn)
  end
end

Version data entries

72 entries across 72 versions & 3 rubygems

Version Path
awspec-1.15.1 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.15.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.14.1 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.14.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.13.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.12.7 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.12.6 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.12.5 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.12.4 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.12.3 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.12.2 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.12.1 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.12.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.11.1 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.11.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.10.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.9.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.8.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.7.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.6.1 lib/awspec/matcher/belong_to_nlb.rb