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.12.0 spec/type/base/default_gateway_spec.rb
serverspec-2.11.0 spec/type/base/default_gateway_spec.rb
serverspec-2.10.2 spec/type/base/default_gateway_spec.rb
serverspec-2.10.1 spec/type/base/default_gateway_spec.rb
serverspec-2.10.0 spec/type/base/default_gateway_spec.rb
serverspec-2.9.1 spec/type/base/default_gateway_spec.rb
serverspec-2.9.0 spec/type/base/default_gateway_spec.rb
serverspec-2.8.2 spec/type/base/default_gateway_spec.rb
serverspec-2.8.1 spec/type/base/default_gateway_spec.rb
serverspec-2.8.0 spec/type/base/default_gateway_spec.rb
serverspec-2.7.2 spec/type/base/default_gateway_spec.rb
serverspec-2.7.1 spec/type/base/default_gateway_spec.rb
serverspec-2.7.0 spec/type/base/default_gateway_spec.rb
serverspec-2.6.0 spec/type/base/default_gateway_spec.rb
serverspec-2.5.0 spec/type/base/default_gateway_spec.rb
serverspec-2.4.0 spec/type/base/default_gateway_spec.rb
serverspec-2.3.1 spec/type/base/default_gateway_spec.rb
serverspec-2.3.0 spec/type/base/default_gateway_spec.rb
serverspec-2.2.0 spec/type/base/default_gateway_spec.rb
serverspec-clc-2.1.0 spec/type/base/default_gateway_spec.rb