Sha256: 2e3fa27303cb87a7f122a1120fbada5832b1d28725a732fd1a79c798ba9a3b06

Contents?: true

Size: 184 Bytes

Versions: 4

Compression:

Stored size: 184 Bytes

Contents

require 'test_helper'

class WhoisTest < Test::Unit::TestCase
  
  def test_whois
    Whois::Client.any_instance.expects(:query).with("foo.com")
    Whois.whois("foo.com")
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whois-0.5.3 test/whois_test.rb
whois-0.5.2 test/whois_test.rb
whois-0.5.0 test/whois_test.rb
whois-0.5.1 test/whois_test.rb