Sha256: 575b071f2d080a4239303bca188556ec6453b429d2a1c86028faf36a016285fd

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

require 'net/ip/rule'

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

  it "should be convert to_params" do
    Net::IP::Rule.new(:priority => '1').to_params.should eql("priority 1 ")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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