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