mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-15 00:01:36 -04:00
simplify test requires
This commit is contained in:
parent
412844ac1d
commit
fa397470e2
@ -1,4 +1,4 @@
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'helper'))
|
||||
require File.expand_path('../../helper', __FILE__)
|
||||
require 'stringio'
|
||||
require 'logger'
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'helper'))
|
||||
require File.expand_path('../../helper', __FILE__)
|
||||
|
||||
module Adapters
|
||||
class TestMiddleware < Faraday::TestCase
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
||||
require File.expand_path('../helper', __FILE__)
|
||||
|
||||
class AuthenticationMiddlewareTest < Faraday::TestCase
|
||||
def conn
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
||||
require File.expand_path('../helper', __FILE__)
|
||||
require 'uri'
|
||||
|
||||
class TestConnection < Faraday::TestCase
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
||||
require File.expand_path('../helper', __FILE__)
|
||||
|
||||
class EnvTest < Faraday::TestCase
|
||||
def setup
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "..", "helper"))
|
||||
require File.expand_path("../../helper", __FILE__)
|
||||
|
||||
module Middleware
|
||||
class RetryTest < Faraday::TestCase
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
||||
require File.expand_path('../helper', __FILE__)
|
||||
|
||||
class MiddlewareStackTest < Faraday::TestCase
|
||||
# mock handler classes
|
||||
|
@ -1,5 +1,5 @@
|
||||
# encoding: utf-8
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
||||
require File.expand_path('../helper', __FILE__)
|
||||
|
||||
Faraday::CompositeReadIO.class_eval { attr_reader :ios }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
||||
require File.expand_path('../helper', __FILE__)
|
||||
|
||||
class ResponseMiddlewareTest < Faraday::TestCase
|
||||
def setup
|
||||
|
Loading…
x
Reference in New Issue
Block a user