Skip to content

Commit

Permalink
tests fixed for 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRuiz committed Sep 26, 2022
1 parent 59373a2 commit bc7887c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/nice_http/nice_http_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
it 'returns error if timeout reached when connecting' do
klass.timeout = 2
http = klass.new("http://example.com:8888") rescue err = $ERROR_INFO
expect(err.message).to match /execution expired/i
expect(err.message).to match /(execution expired|Failed to open TCP connection)/i
end
end

Expand Down

0 comments on commit bc7887c

Please sign in to comment.