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.38.0 spec/type/base/default_gateway_spec.rb
serverspec-2.37.2 spec/type/base/default_gateway_spec.rb
serverspec-2.37.1 spec/type/base/default_gateway_spec.rb
serverspec-2.37.0 spec/type/base/default_gateway_spec.rb
serverspec-2.36.1 spec/type/base/default_gateway_spec.rb
serverspec-2.36.0 spec/type/base/default_gateway_spec.rb
serverspec-2.35.0 spec/type/base/default_gateway_spec.rb
serverspec-2.34.0 spec/type/base/default_gateway_spec.rb
serverspec-2.33.0 spec/type/base/default_gateway_spec.rb
serverspec-2.32.0 spec/type/base/default_gateway_spec.rb
serverspec-2.31.1 spec/type/base/default_gateway_spec.rb
serverspec-2.31.0 spec/type/base/default_gateway_spec.rb
serverspec-2.30.1 spec/type/base/default_gateway_spec.rb
serverspec-2.30.0 spec/type/base/default_gateway_spec.rb
serverspec-2.29.2 spec/type/base/default_gateway_spec.rb
serverspec-2.29.1 spec/type/base/default_gateway_spec.rb
serverspec-2.29.0 spec/type/base/default_gateway_spec.rb
serverspec-2.28.0 spec/type/base/default_gateway_spec.rb
serverspec-2.27.0 spec/type/base/default_gateway_spec.rb
serverspec-2.26.0 spec/type/base/default_gateway_spec.rb