Update spec/manifique/web_client_spec.rb
Co-authored-by: Garret Alfert <garret@5apps.com>
This commit is contained in:
parent
4c36da46fe
commit
3d9bdb1cab
@ -67,7 +67,7 @@ RSpec.describe Manifique::WebClient do
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
it "raises an exception on timouts" do
|
it "raises an exception on timeouts" do
|
||||||
expect {
|
expect {
|
||||||
client.send(:do_get_request, 'http://example.com/timeout')
|
client.send(:do_get_request, 'http://example.com/timeout')
|
||||||
}.to raise_error("Failed to connect")
|
}.to raise_error("Failed to connect")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user