Sha256: 493b3d7e2fee7d9ee6d072ae93536b12bf1066c1caf1ce8ede3bd0fd91beeb3e
Contents?: true
Size: 333 Bytes
Versions: 5
Compression:
Stored size: 333 Bytes
Contents
describe "Resolv#getnames" do before(:all) do require 'resolv' end it "resolves 127.0.0.1" do res = Resolv.new([Resolv::Hosts.new]) names = nil lambda { names = res.getnames("127.0.0.1") }.should_not raise_error(Resolv::ResolvError) names.should_not == nil names.size.should > 0 end end
Version data entries
5 entries across 5 versions & 1 rubygems