Author: kclark
Date: Tue Jun 17 18:16:42 2008
New Revision: 669004
URL: http://svn.apache.org/viewvc?rev=669004&view=rev
Log:
rb: Stop calling rspec_clear in specs (which really should have been
rspec_reset), as rspec_verify already resets
Modified:
incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb
Modified: incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb?rev=669004&r1=669003&r2=669004&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb (original)
+++ incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb Tue Jun 17
18:16:42 2008
@@ -77,7 +77,6 @@
end
# handing it numbers out of signed range should clip
@trans.rspec_verify
- @trans.rspec_clear
(128..255).each do |i|
@trans.should_receive(:write).with([i].pack('c')).ordered
@prot.write_byte(i)