Sha256: 2646374ab5e665701e6a0714992a463445977fc0ca5258a45be8a6b45eb18d82
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
require 'helper' class TestFortuneFinderRecord < Test::Unit::TestCase def setup @record = FortuneFinder.lookup "att.com" end should "know that it exists" do assert @record.exists? end should "know the name" do assert_equal "AT&T", @record.name end should "know the rank" do assert_equal 12, @record.rank end should "know the domain" do assert_equal "att.com", @record.domain end should "know if it's an alias" do refute @record.alias? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fortune-finder-0.1.3 | test/test_fortune_finder_record.rb |