Sha256: 1765f813b40ff8687649059a24c9029832c2d2f8becf81eddd2dfde72399e285

Contents?: true

Size: 261 Bytes

Versions: 90

Compression:

Stored size: 261 Bytes

Contents

RSpec::Matchers.define :belong_to_alb do |alb_arn|
  match do |type|
    return true if type.load_balancer_arns.include?(alb_arn)
    ret = type.find_alb(alb_arn)
    return false unless ret
    type.load_balancer_arns.include?(ret.load_balancer_arn)
  end
end

Version data entries

90 entries across 90 versions & 4 rubygems

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