Sha256: 19f09b76c68d34212980d62dcf7b158e8b3e65b53eeb8930353e13ea03db982b
Contents?: true
Size: 481 Bytes
Versions: 5
Compression:
Stored size: 481 Bytes
Contents
require 'spec_helper' include Serverspec::Helper::AIX describe default_gateway do let(:stdout) { "default via 192.168.1.1 dev eth1 \r\n" } its(:ipaddress) { should eq '192.168.1.1' } its(:command) { should eq "ip route | grep -E '^default |^default '" } its(:interface) { should eq 'eth1' } its(:command) { should eq "ip route | grep -E '^default |^default '" } its(:ipaddress) { should_not eq '192.168.1.2' } its(:interface) { should_not eq 'eth0' } end
Version data entries
5 entries across 5 versions & 1 rubygems