From 4eea89737abf01dbcfd8443aec8746ad0cb637d8 Mon Sep 17 00:00:00 2001 From: Kevin Clark Date: Wed, 18 Jun 2008 01:16:42 +0000 Subject: [PATCH] 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 --- lib/rb/spec/binaryprotocol_spec.rb | 1 - 1 file changed, 1 deletion(-) 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) -- 2.17.1