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