Sha256: 29551983e98fc859213261f3afa2e967f766bde8c54b7a440877a9887ca7d6f8

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spieker-0.0.2 test/spieker_test.rb
spieker-0.0.1 test/spieker_test.rb