Sha256: 2847b06981724ddc505082d1769bd66d8f42d2ba4f3e8484fd12593aea31c9e1
Contents?: true
Size: 279 Bytes
Versions: 1
Compression:
Stored size: 279 Bytes
Contents
require 'tinydns/record' describe TinyDNS::Record do it "to_str" do @record = TinyDNS::Record.new( :type => '=', :name => 'example.com', :value => '1.2.3.4', :ttl => "3600" ) @record.to_str.should eql("=example.com:1.2.3.4:3600") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tinydns-data-0.0.1 | spec/tinydns/record_spec.rb |