Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix issues with thread local extensions

  • Loading branch information...
commit 043f3900c681815919eaf93d72e3bfc0b81ddc1f 1 parent 49a2008
@raggi raggi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/statsd_spec.rb
View
2  spec/statsd_spec.rb
@@ -362,7 +362,7 @@ class Statsd::SomeClass; end
it "should create a new socket when used in a new thread" do
sock = @statsd.send(:socket)
- Thread.new { Thread.current[:statsd_socket].wont_equal sock }.join
+ Thread.new { Thread.current[:statsd_socket] }.value.wont_equal sock
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.