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

Version Path
whois-1.2.2 test/whois/server/adapters/base_test.rb
whois-1.2.1 test/whois/server/adapters/base_test.rb
whois-1.2.0 test/whois/server/adapters/base_test.rb
whois-1.1.8 test/server/adapters/base_test.rb
whois-1.1.7 test/server/adapters/base_test.rb
whois-1.1.6 test/server/adapters/base_test.rb
whois-1.1.5 test/server/adapters/base_test.rb
whois-1.1.4 test/server/adapters/base_test.rb
whois-1.1.3 test/server/adapters/base_test.rb
whois-1.1.2 test/server/adapters/base_test.rb
whois-1.1.1 test/server/adapters/base_test.rb
whois-1.1.0 test/server/adapters/base_test.rb
whois-1.0.12 test/server/adapters/base_test.rb
whois-1.0.11 test/server/adapters/base_test.rb
whois-1.0.10 test/server/adapters/base_test.rb
whois-1.0.9 test/server/adapters/base_test.rb
whois-1.0.8 test/server/adapters/base_test.rb
whois-1.0.7 test/server/adapters/base_test.rb
whois-1.0.6 test/server/adapters/base_test.rb
whois-1.0.5 test/server/adapters/base_test.rb