fix bug with source::site
This commit is contained in:
@@ -11,7 +11,7 @@ module Downloads
|
||||
end
|
||||
|
||||
should "download the large image instead" do
|
||||
assert_equal("https://cdnb3.artstation.com/p/assets/images/images/003/716/071/original/aoi-ogata-hate-city.jpg?1476754974", @download.source)
|
||||
assert_equal("https://cdnb3.artstation.com/p/assets/images/images/003/716/071/large/aoi-ogata-hate-city.jpg?1476754974", @download.source)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -37,7 +37,7 @@ module Downloads
|
||||
end
|
||||
|
||||
should "download the original image instead" do
|
||||
assert_equal("https://cdna.artstation.com/p/assets/images/images/006/066/534/original/yinan-cui-reika.jpg?1495781565", @download.source)
|
||||
assert_equal("https://cdna.artstation.com/p/assets/images/images/006/066/534/large/yinan-cui-reika.jpg?1495781565", @download.source)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -11,7 +11,7 @@ module Downloads
|
||||
end
|
||||
|
||||
should "set the html page as the source" do
|
||||
assert_equal("http://orig00.deviantart.net/82ef/f/2016/271/7/1/aaaaaa_by_starbitt-daj8b46.gif", @download.source)
|
||||
assert_equal("https://orig00.deviantart.net/82ef/f/2016/271/7/1/aaaaaa_by_starbitt-daj8b46.gif", @download.source)
|
||||
end
|
||||
|
||||
should "work" do
|
||||
|
||||
Reference in New Issue
Block a user