1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

MSWin Fix

This commit is contained in:
lucasprim 2010-03-24 14:21:33 -03:00
parent 1ff9ac2ab7
commit 736e5d4aa3

View file

@ -93,7 +93,7 @@ private
if res.is_a?(Net::HTTPSuccess) or res.is_a?(Net::HTTPRedirection)
return res.body == @app.object_id.to_s
end
rescue Errno::ECONNREFUSED
rescue Errno::ECONNREFUSED, Errno::EBADF
return false
end