test/env_test.rb in faraday-0.5.6 vs test/env_test.rb in faraday-0.5.7

- old
+ new

@@ -1,9 +1,9 @@ require File.expand_path(File.join(File.dirname(__FILE__), 'helper')) class TestEnv < Faraday::TestCase def setup - @conn = Faraday::Connection.new :url => 'http://sushi.com/api', :headers => {'Mime-Version' => '1.0'} + @conn = Faraday.new :url => 'http://sushi.com/api', :headers => {'Mime-Version' => '1.0'} @conn.options[:timeout] = 3 @conn.options[:open_timeout] = 5 @conn.ssl[:verify] = false @conn.proxy 'http://proxy.com' @input = {