Sha256: dfe0bb933493efe24bc8d5b19996492df1e35314242ffe21ed9620d1406daa58

Contents?: true

Size: 341 Bytes

Versions: 73

Compression:

Stored size: 341 Bytes

Contents

RSpec::Matchers.define :have_vpc_peering_connection do |vpc_peering_connection_id|
  match do |vpc|
    vpc.has_vpc_peering_connection?(vpc_peering_connection_id, @accepter_or_requester)
  end

  chain :as_accepter do
    @accepter_or_requester = 'accepter'
  end

  chain :as_requester do
    @accepter_or_requester = 'requester'
  end
end

Version data entries

73 entries across 73 versions & 3 rubygems

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