Module: Adapters::Integration::NonParallel

Included in:
RackTest
Defined in:
test/adapters/integration.rb

Instance Method Summary collapse

Instance Method Details

#test_no_parallel_supportObject


44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'test/adapters/integration.rb', line 44

def test_no_parallel_support
  connection = create_connection
  response = nil

  err = capture_warnings do
    connection.in_parallel do
      response = connection.get('echo').body
    end
  end
  assert response
  assert_match "no parallel-capable adapter on Faraday stack", err
  assert_match __FILE__, err
end