Sha256: 0f78e75f869ad6db4a807d73073f528b2340e1d402215a25fca38decb10db6c1
Contents?: true
Size: 339 Bytes
Versions: 28
Compression:
Stored size: 339 Bytes
Contents
require 'test_helper' class ServerAdaptersBaseTest < Test::Unit::TestCase def setup @definition = [:tld, ".foo", "whois.foo", {}] @klass = Whois::Server::Adapters::Base @server = @klass.new(*@definition) end def test_query_should_raise assert_raise(NotImplementedError) { @server.query("example.com") } end end
Version data entries
28 entries across 28 versions & 1 rubygems