Merge branch 'pr/89'

# Conflicts:
#	lib/wayback_machine_downloader.rb
This commit is contained in:
hartator
2017-10-26 19:39:36 -05:00
3 changed files with 53 additions and 6 deletions

View File

@@ -85,6 +85,11 @@ class WaybackMachineDownloaderTest < Minitest::Test
assert_includes linux_page.read, "Linux Games"
end
def test_all_timestamps_being_respected
@wayback_machine_downloader.all_timestamps = true
assert_equal 68, @wayback_machine_downloader.get_file_list_curated.size
end
def test_from_timestamp_being_respected
@wayback_machine_downloader.from_timestamp = 20050716231334
file_url = @wayback_machine_downloader.get_file_list_curated["linux.htm"][:file_url]