Sha256: 77842d0e6685fa7bdbef559ab2f163b8b2f702e477d0c82a1d6149664f394050

Contents?: true

Size: 285 Bytes

Versions: 73

Compression:

Stored size: 285 Bytes

Contents

RSpec::Matchers.define :be_connected_to_vpc do |vpc_id|
  match do |vpc|
    vpc.connected_to_vpc?(vpc_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/be_connected_to_vpc.rb
awspec-1.25.0 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.24.4 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.24.3 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.24.2 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.24.1 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.24.0 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.23.0 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.22.1 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.22.0 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.21.1 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.21.0 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.20.0 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.19.2 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.19.1 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.19.0 lib/awspec/matcher/be_connected_to_vpc.rb
cthiesfork-awspec-1.2.4 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/matcher/be_connected_to_vpc.rb
awspec-1.18.6 lib/awspec/matcher/be_connected_to_vpc.rb