Fix tests with duplicate names (they weren't being executed)

This commit is contained in:
Erik Michaels-Ober 2010-10-08 13:04:45 -07:00
parent 09692fc5f1
commit dbeab13512
2 changed files with 2 additions and 8 deletions

View File

@ -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'

View File

@ -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
@ -53,4 +53,4 @@ class TestEnv < Faraday::TestCase
end
env_setup.to_env_hash(connection, :get)
end
end
end