From: Kevin Clark Date: Wed, 18 Jun 2008 01:16:42 +0000 (+0000) Subject: rb: Stop calling rspec_clear in specs (which really should have been rspec_reset... X-Git-Tag: 0.2.0~547 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=4eea89737abf01dbcfd8443aec8746ad0cb637d8;p=common%2Fthrift.git rb: Stop calling rspec_clear in specs (which really should have been rspec_reset), as rspec_verify already resets git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669004 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/rb/spec/binaryprotocol_spec.rb b/lib/rb/spec/binaryprotocol_spec.rb index 5249cd9b..2b526379 100644 --- a/lib/rb/spec/binaryprotocol_spec.rb +++ b/lib/rb/spec/binaryprotocol_spec.rb @@ -77,7 +77,6 @@ class ThriftBinaryProtocolSpec < Spec::ExampleGroup 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)