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.6.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.5.4 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.5.3 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.5.2 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.5.1 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.5.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.4.3 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.4.2 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.4.1 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.4.0 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.3.1 lib/awspec/matcher/belong_to_nlb.rb
awspec-1.3.0 lib/awspec/matcher/belong_to_nlb.rb