Sha256: 4e638e622ed4d443bbfa98b36254c2d094a0dc58c408db89345d32f1487a13de
Contents?: true
Size: 410 Bytes
Versions: 3
Compression:
Stored size: 410 Bytes
Contents
shared_examples_for 'support default gateway matcher' do describe 'default_gateway' do let(:stdout) { "default via 192.168.1.1 dev eth1 \r\n" } describe default_gateway do its(:ipaddress) { should eq '192.168.1.1' } its(:interface) { should eq 'eth1' } its(:ipaddress) { should_not eq '192.168.1.2' } its(:interface) { should_not eq 'eth0' } end end end
Version data entries
3 entries across 3 versions & 1 rubygems