Sha256: a366c8f21198e1058e250fee53dd724ebdc94635d04b06fe5aacdda0908bf14c

Contents?: true

Size: 223 Bytes

Versions: 13

Compression:

Stored size: 223 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :have_private_ip_address do |ip_address|
  match do |eni|
    eni.has_private_ip_address?(ip_address, @primary)
  end

  chain :primary do
    @primary = true
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
awspec-1.31.0 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.30.0 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.29.3 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.29.2 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.29.1 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.29.0 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.28.2 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.28.1 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.28.0 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.27.1 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.27.0 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.26.0 lib/awspec/matcher/have_private_ip_address.rb
awspec-1.25.2 lib/awspec/matcher/have_private_ip_address.rb