Sha256: 03177d4dfcc2eea8d0cfe5c3de6eeb3961769eaeb467c69a6334ae2539653f3a

Contents?: true

Size: 266 Bytes

Versions: 4

Compression:

Stored size: 266 Bytes

Contents

require 'net/ip/route'

describe Net::IP::Route do
  it "should be creatable" do
    Net::IP::Route.new.should be_kind_of(Net::IP::Route)
  end

  it "should be convert to_params" do
    Net::IP::Route.new(:dev => 'eth0').to_params.should eql("dev eth0 ")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
net-ip-0.0.8 spec/net/ip/route_spec.rb
net-ip-0.0.7 spec/net/ip/route_spec.rb
net-ip-0.0.6 spec/net/ip/route_spec.rb
net-ip-0.0.5 spec/net/ip/route_spec.rb