Sha256: 0371264d8bf85157bfef40d62a7219a65ff28c0d4a780d118b240f2b18fb88a9

Contents?: true

Size: 350 Bytes

Versions: 125

Compression:

Stored size: 350 Bytes

Contents

RSpec::Matchers.define :have_network_interface do |network_interface_id|
  match do |type|
    type.has_network_interface?(network_interface_id, @device_index)
  end

  chain :device_index do |device_index|
    @device_index = device_index
  end

  (0..10).each do |idx|
    chain "as_eth#{idx}".to_sym do
      @device_index = idx
    end
  end
end

Version data entries

125 entries across 125 versions & 4 rubygems

Version Path
awspec-0.68.0 lib/awspec/matcher/have_network_interface.rb
awspec-0.67.1 lib/awspec/matcher/have_network_interface.rb
awspec-0.67.0 lib/awspec/matcher/have_network_interface.rb
awspec-0.66.2 lib/awspec/matcher/have_network_interface.rb
awspec-0.66.1 lib/awspec/matcher/have_network_interface.rb