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.25.1 lib/awspec/matcher/belong_to_alb.rb
awspec-1.25.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.24.4 lib/awspec/matcher/belong_to_alb.rb
awspec-1.24.3 lib/awspec/matcher/belong_to_alb.rb
awspec-1.24.2 lib/awspec/matcher/belong_to_alb.rb
awspec-1.24.1 lib/awspec/matcher/belong_to_alb.rb
awspec-1.24.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.23.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.22.1 lib/awspec/matcher/belong_to_alb.rb
awspec-1.22.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.21.1 lib/awspec/matcher/belong_to_alb.rb
awspec-1.21.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.20.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.19.2 lib/awspec/matcher/belong_to_alb.rb
awspec-1.19.1 lib/awspec/matcher/belong_to_alb.rb
awspec-1.19.0 lib/awspec/matcher/belong_to_alb.rb
cthiesfork-awspec-1.2.4 lib/awspec/matcher/belong_to_alb.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/matcher/belong_to_alb.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/matcher/belong_to_alb.rb
awspec-1.18.6 lib/awspec/matcher/belong_to_alb.rb