mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-09-11 00:00:36 -04:00
added regression test for bug fixed on 0.15.3
This commit is contained in:
parent
340fb6c7c6
commit
bb9da90bfa
21
regression_tests/bug_0_15_3_test.rb
Normal file
21
regression_tests/bug_0_15_3_test.rb
Normal 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
|
Loading…
x
Reference in New Issue
Block a user