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