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
cthiesfork-awspec-1.2.2 lib/awspec/matcher/belong_to_alb.rb
cthiesfork-awspec-1.2.1 lib/awspec/matcher/belong_to_alb.rb
awspec-1.18.5 lib/awspec/matcher/belong_to_alb.rb
cthiesfork-awspec-1.2.0 lib/awspec/matcher/belong_to_alb.rb
cthiesfork-awspec-1.1.0 lib/awspec/matcher/belong_to_alb.rb
cthiesfork-awspec-1.0.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.18.4 lib/awspec/matcher/belong_to_alb.rb
awspec-1.18.3 lib/awspec/matcher/belong_to_alb.rb
awspec-1.18.2 lib/awspec/matcher/belong_to_alb.rb
awspec-1.18.1 lib/awspec/matcher/belong_to_alb.rb
awspec-1.18.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.17.4 lib/awspec/matcher/belong_to_alb.rb
awspec-1.17.3 lib/awspec/matcher/belong_to_alb.rb
awspec-1.17.2 lib/awspec/matcher/belong_to_alb.rb
awspec-1.17.1 lib/awspec/matcher/belong_to_alb.rb
awspec-1.17.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.16.1 lib/awspec/matcher/belong_to_alb.rb
awspec-1.16.0 lib/awspec/matcher/belong_to_alb.rb
awspec-1.15.3 lib/awspec/matcher/belong_to_alb.rb
awspec-1.15.2 lib/awspec/matcher/belong_to_alb.rb