Sha256: dd77667c3667c9f11fd909be9c0f9eb7561a8cbdc13be43286985f92c8961e0b
Contents?: true
Size: 460 Bytes
Versions: 4
Compression:
Stored size: 460 Bytes
Contents
require File.join(File.dirname(__FILE__), %w[spec_helper]) describe Radiustar::Value do it "should get numeric value of NAS-Port-Type == Ethernet from dictionary.rfc2865" do dict = Radiustar::Dictionary.new dict.read(File.dirname(__FILE__) + '/../templates/dictionary.rfc2865') attribute = dict.find_attribute_by_name 'NAS-Port-Type' ethernet_value = attribute.find_values_by_name 'Ethernet' ethernet_value.id.should == 15 end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
radiustar-0.0.8 | spec/value_spec.rb |
radiustar-0.0.7 | spec/value_spec.rb |
radiustar-0.0.6 | spec/value_spec.rb |
radiustar-0.0.5 | spec/value_spec.rb |