diff --git a/test/test_wayback_machine_downloader.rb b/test/test_wayback_machine_downloader.rb index 0e4ceb4..8e83bfe 100644 --- a/test/test_wayback_machine_downloader.rb +++ b/test/test_wayback_machine_downloader.rb @@ -74,6 +74,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]