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.42.3 spec/type/base/default_gateway_spec.rb
serverspec-2.42.2 spec/type/base/default_gateway_spec.rb
serverspec-2.42.1 spec/type/base/default_gateway_spec.rb
serverspec-cem-acpt-2.42.0 spec/type/base/default_gateway_spec.rb
serverspec-2.42.0 spec/type/base/default_gateway_spec.rb
serverspec-2.41.8 spec/type/base/default_gateway_spec.rb
serverspec-2.41.7 spec/type/base/default_gateway_spec.rb
serverspec-2.41.6 spec/type/base/default_gateway_spec.rb
serverspec-2.41.5 spec/type/base/default_gateway_spec.rb
serverspec-2.41.4 spec/type/base/default_gateway_spec.rb
serverspec-ruby19-2.24.3 spec/type/base/default_gateway_spec.rb
serverspec-2.41.3 spec/type/base/default_gateway_spec.rb
serverspec-2.41.2 spec/type/base/default_gateway_spec.rb
serverspec-2.41.1 spec/type/base/default_gateway_spec.rb
serverspec-2.41.0 spec/type/base/default_gateway_spec.rb
serverspec-2.40.0 spec/type/base/default_gateway_spec.rb
serverspec-2.39.2 spec/type/base/default_gateway_spec.rb
serverspec-2.39.1 spec/type/base/default_gateway_spec.rb
serverspec-2.39.0 spec/type/base/default_gateway_spec.rb
serverspec-2.38.1 spec/type/base/default_gateway_spec.rb