THRIFT-1645: Replace Object#tee with more conventional Object#tap in specs
authorJake Farrell <jfarrell@apache.org>
Mon, 1 Oct 2012 18:42:23 +0000 (18:42 +0000)
committerJake Farrell <jfarrell@apache.org>
Mon, 1 Oct 2012 18:42:23 +0000 (18:42 +0000)
commit5d6bd5a606b4cd1f77c65d75888e8424ed22d912
tree51e4a56296fa7734d069d4296411e9af7a070a29
parent2fd8a15fc4e458aee13dd3be7fcba96bb5019c38
THRIFT-1645: Replace Object#tee with more conventional Object#tap in specs
Client: rb
Patch: Nathan Beyer

The spec_helper.rb defines an Object#tee method, which is functionally equivalent to Object#tap. Object#tap was added to Ruby 1.9 and to 1.8.7.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1392509 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/spec/client_spec.rb
lib/rb/spec/http_client_spec.rb
lib/rb/spec/mongrel_http_server_spec.rb
lib/rb/spec/processor_spec.rb
lib/rb/spec/spec_helper.rb