mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-08 00:03:41 -04:00
Fix tests with duplicate names (they weren't being executed)
This commit is contained in:
parent
09692fc5f1
commit
dbeab13512
@ -179,12 +179,6 @@ class TestConnection < Faraday::TestCase
|
||||
assert_equal 'https://sushi.com/sushi/sake.html', uri.to_s
|
||||
end
|
||||
|
||||
def test_proxy_accepts_string
|
||||
conn = Faraday::Connection.new
|
||||
conn.proxy 'http://proxy.com'
|
||||
assert_equal 'proxy.com', conn.proxy.host
|
||||
end
|
||||
|
||||
def test_proxy_accepts_string
|
||||
conn = Faraday::Connection.new
|
||||
conn.proxy 'http://proxy.com'
|
||||
|
@ -34,7 +34,7 @@ class TestEnv < Faraday::TestCase
|
||||
assert_equal @input[:body], @env[:body]
|
||||
end
|
||||
|
||||
def test_request_create_stores_ssl_options
|
||||
def test_request_create_stores_timeout_options
|
||||
assert_equal 3, @env[:request][:timeout]
|
||||
assert_equal 5, @env[:request][:open_timeout]
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user