Sha256: 5b64500086226331c7da3018fbd99ffa034fb22775bae955d4d1ce027f176d4c

Contents?: true

Size: 211 Bytes

Versions: 191

Compression:

Stored size: 211 Bytes

Contents

RSpec::Matchers.define :belong_to_vpc do |vpc_id|
  match do |type|
    return true if type.vpc_id == vpc_id
    ret = type.find_vpc(vpc_id)
    return false unless ret
    ret[:vpc_id] == type.vpc_id
  end
end

Version data entries

191 entries across 191 versions & 4 rubygems

Version Path
awspec-1.6.0 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.5.4 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.5.3 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.5.2 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.5.1 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.5.0 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.4.3 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.4.2 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.4.1 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.4.0 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.3.1 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.3.0 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.2.0 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.1.0 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.0.0 lib/awspec/matcher/belong_to_vpc.rb
awspec-1.0.0.rc lib/awspec/matcher/belong_to_vpc.rb
awspec-0.88.2 lib/awspec/matcher/belong_to_vpc.rb
awspec-0.88.1 lib/awspec/matcher/belong_to_vpc.rb
awspec-0.88.0 lib/awspec/matcher/belong_to_vpc.rb
awspec-0.87.1 lib/awspec/matcher/belong_to_vpc.rb