test/link_scraper_test.rb in spieker-0.0.2 vs test/link_scraper_test.rb in spieker-0.0.3

- old
+ new

@@ -1,7 +1,6 @@ -require 'test/unit' -require 'spieker.rb' +require 'test_helper' class TestLinkScraper < Test::Unit::TestCase def setup @scraper = Spieker::LinkScraper.new('http://www.google.com') end @@ -20,10 +19,12 @@ 'http://www.google.com/local', '/local', '/local#justahash', '#justahash', 'http://www.remote.com', - 'mailto:timonv@gmail.com' + 'mailto:timonv@gmail.com', + 'javascript', + 'pdf' ] expected_links = [ 'http://www.google.com/local', '/local', ''