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