Skip to content

Commit c6a8b08

Browse files
committed
Adjust proxy spec
1 parent 7cef5df commit c6a8b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/detect_language_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
.with('ws.detectlanguage.com', 443, 'my-proxy', 8080, 'dummy', 'pass', nil, true)
5555
.and_call_original
5656

57-
expect { subject }.to raise_error(Socket::ResolutionError)
57+
expect { subject }.to raise_error(SocketError)
5858
end
5959
end
6060
end

0 commit comments

Comments
 (0)