require 'test_helper' 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 end