Sha256: 147e8da614c11beeaf646bea45af0ad99f7bc1a0abef7bfb10b49b6ad5dd6272
Contents?: true
Size: 1.05 KB
Versions: 34
Compression:
Stored size: 1.05 KB
Contents
### exist ```ruby describe network_interface('eni-12ab3cde') do it { should exist } end ``` ### be_attached_to ```ruby describe network_interface('eni-12ab3cde') do it { should be_attached_to('my-ec2') } it { should be_attached_to('my-ec2').as_eth0 } end ``` ### be_available, be_attaching, be_in_use, be_detaching ```ruby describe network_interface('eni-12ab3cde') do it { should be_in_use } end ``` ### have_private_ip_address ```ruby describe network_interface('eni-12ab3cde') do it { should have_private_ip_address('10.0.1.1').primary } it { should have_private_ip_address('10.0.1.2') } its(:private_ip_addresses_count) { should eq 2 } end ``` ### have_security_group ```ruby describe network_interface('eni-12ab3cde') do it { should have_security_group('my-security-group-name') } end ``` ### belong_to_subnet ```ruby describe network_interface('eni-12ab3cde') do it { should belong_to_subnet('my-subnet') } end ``` ### belong_to_vpc ```ruby describe network_interface('eni-12ab3cde') do it { should belong_to_vpc('my-vpc') } end ```
Version data entries
34 entries across 34 versions & 1 rubygems