Sha256: 3071967ee828652816f74c6447f47913656737856fc1fb5953e38985ec353692

Contents?: true

Size: 207 Bytes

Versions: 31

Compression:

Stored size: 207 Bytes

Contents

RSpec::Matchers.define :have_route do |target|
  match do |route_table|
    route_table.has_route?(target, @destination)
  end

  chain :destination do |destination|
    @destination = destination
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
awspec-0.20.1 lib/awspec/matcher/have_route.rb
awspec-0.20.0 lib/awspec/matcher/have_route.rb
awspec-0.19.0 lib/awspec/matcher/have_route.rb
awspec-0.18.2 lib/awspec/matcher/have_route.rb
awspec-0.18.1 lib/awspec/matcher/have_route.rb
awspec-0.18.0 lib/awspec/matcher/have_route.rb
awspec-0.17.1 lib/awspec/matcher/have_route.rb
awspec-0.17.0 lib/awspec/matcher/have_route.rb
awspec-0.16.0 lib/awspec/matcher/have_route.rb
awspec-0.15.0 lib/awspec/matcher/have_route.rb
awspec-0.14.1 lib/awspec/matcher/have_route.rb
awspec-0.14.0 lib/awspec/matcher/have_route.rb
awspec-0.13.0 lib/awspec/matcher/have_route.rb
awspec-0.12.1 lib/awspec/matcher/have_route.rb
awspec-0.12.0 lib/awspec/matcher/have_route.rb
awspec-0.11.0 lib/awspec/matcher/have_route.rb
awspec-0.10.2 lib/awspec/matcher/have_route.rb
awspec-0.10.1 lib/awspec/matcher/have_route.rb
awspec-0.10.0 lib/awspec/matcher/have_route.rb
awspec-0.9.0 lib/awspec/matcher/have_route.rb