spec/integration_spec.rb in cf-uaa-lib-3.14.1 vs spec/integration_spec.rb in cf-uaa-lib-3.14.3
- old
+ new
@@ -58,18 +58,18 @@
it 'times out the connection at the configured time for the scim' do
expect {
Timeout.timeout(default_http_client_timeout - 1) do
scim.get(:user, "admin")
end
- }.to raise_error HTTPClient::TimeoutError
+ }.to raise_error HTTPException
end
it 'times out the connection at the configured time for the token issuer' do
expect {
Timeout.timeout(default_http_client_timeout - 1) do
token_issuer.client_credentials_grant
end
- }.to raise_error HTTPClient::TimeoutError
+ }.to raise_error HTTPException
end
end
if ENV['UAA_CLIENT_TARGET']
describe 'UAA Integration:' do