Sha256: 0b1a57d80b896297a6a491f4537b9e8dbf40cfb0730553c463a6cd93e53afc39

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

require 'spec_helper'

set :os, :family => 'base'

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(:interface) { should eq 'eth1' }

  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

Version Path
serverspec-2.0.0.beta13 spec/type/base/default_gateway_spec.rb
serverspec-2.0.0.beta12 spec/type/base/default_gateway_spec.rb
serverspec-2.0.0.beta11 spec/type/base/default_gateway_spec.rb
serverspec-2.0.0.beta10 spec/type/base/default_gateway_spec.rb
serverspec-2.0.0.beta9 spec/type/base/default_gateway_spec.rb