require 'test/unit' require 'spieker.rb' class TestSpieker < Test::Unit::TestCase def setup @crawler = Spieker::Crawler.new('http://www.google.com/path') end def test_current_path assert_equal '/path', @crawler.current_path end def test_all_links assert_equal [], @crawler.current_links end end