Update file information to reflect new API selectors

This commit is contained in:
hartator 2016-09-26 10:51:02 -07:00
parent c9be8ae945
commit d254c5c541

View File

@ -31,11 +31,11 @@ class WaybackMachineDownloaderTest < Minitest::Test
def test_file_list_by_timestamp def test_file_list_by_timestamp
file_expected = { file_expected = {
file_id: "Fs-06.jpg", file_url: "http://www.onlyfreegames.net:80/strat.html",
file_url: "http://www.onlyfreegames.net:80/Fs-06.jpg", timestamp: 20060111084756,
timestamp: 20060716125343 file_id: "strat.html"
} }
assert_equal file_expected, @wayback_machine_downloader.get_file_list_by_timestamp[-1] assert_equal file_expected, @wayback_machine_downloader.get_file_list_by_timestamp[-2]
end end
def test_file_list_only_filter_without_matches def test_file_list_only_filter_without_matches