Sha256: cc660b215fd756eda0d1f53f88e1fb2b58977e0270aa761d874957e000faf06f

Contents?: true

Size: 232 Bytes

Versions: 1

Compression:

Stored size: 232 Bytes

Contents

require 'helper'

class TestFortuneFinder < Test::Unit::TestCase
  should "get a response for a domain name" do
    record = Fortune::lookup('att.com')
    assert_equal 11, record.rank
    assert_equal 'AT&T', record.name
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fortune-finder-0.1.0 test/test_fortune-finder.rb