We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc7b147 commit 0998bb7Copy full SHA for 0998bb7
lib/webmachine/spec/adapter_lint.rb
@@ -22,7 +22,7 @@
22
let(:client) do
23
client = Net::HTTP.new(application.configuration.ip, port)
24
# Wait until the server is responsive
25
- timeout(5) do
+ Timeout.timeout(5) do
26
begin
27
client.start
28
rescue Errno::ECONNREFUSED
spec/webmachine/adapters/reel_spec.rb
@@ -56,7 +56,7 @@
56
def reel_server(adptr = adapter)
57
thread = Thread.new { adptr.run }
58
59
60
61
sock = TCPSocket.new(adptr.application.configuration.ip, adptr.application.configuration.port)
62
0 commit comments