Sha256: ebcc78a60a93d7c85b03ae049015bef773be7f0eddfa56b1f5dc74b073c31abc

Contents?: true

Size: 327 Bytes

Versions: 91

Compression:

Stored size: 327 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

91 entries across 91 versions & 4 rubygems

Version Path
serverspec-2.25.0 spec/type/base/default_gateway_spec.rb
serverspec-2.24.3 spec/type/base/default_gateway_spec.rb
serverspec-2.24.2 spec/type/base/default_gateway_spec.rb
serverspec-2.24.1 spec/type/base/default_gateway_spec.rb
serverspec-2.24.0 spec/type/base/default_gateway_spec.rb
serverspec-2.23.1 spec/type/base/default_gateway_spec.rb
serverspec-2.23.0 spec/type/base/default_gateway_spec.rb
serverspec-2.22.0 spec/type/base/default_gateway_spec.rb
serverspec-2.21.1 spec/type/base/default_gateway_spec.rb
serverspec-2.21.0 spec/type/base/default_gateway_spec.rb
serverspec-2.20.0 spec/type/base/default_gateway_spec.rb
serverspec-2.19.0 spec/type/base/default_gateway_spec.rb
serverspec-2.18.0 spec/type/base/default_gateway_spec.rb
serverspec-2.17.1 spec/type/base/default_gateway_spec.rb
serverspec-2.17.0 spec/type/base/default_gateway_spec.rb
serverspec-2.16.0 spec/type/base/default_gateway_spec.rb
serverspec-2.15.0 spec/type/base/default_gateway_spec.rb
serverspec-2.14.1 spec/type/base/default_gateway_spec.rb
serverspec-2.14.0 spec/type/base/default_gateway_spec.rb
serverspec-2.13.0 spec/type/base/default_gateway_spec.rb