added regression test for bug fixed on 0.15.3

This commit is contained in:
HoneyryderChuck 2021-07-11 17:09:13 +01:00
parent 340fb6c7c6
commit bb9da90bfa

View File

@ -0,0 +1,21 @@
# frozen_string_literal: true
require "test_helper"
require "support/http_helpers"
class Bug_0_15_3_Test < Minitest::Test
include HTTPHelpers
def test_selectables_usage_in_selector_on_multiple_hosts
feeds_urls = %w[
https://www.mikeperham.com/index.xml
https://www.opennet.ru/opennews/opennews_mini_noadv.rss
http://blog.cleancoder.com/atom.xml
]
responses = HTTPX.get(*feeds_urls)
responses.each { |response| verify_status(response, 200) }
responses = HTTPX.get(*feeds_urls)
responses.each { |response| verify_status(response, 200) }
end
end