rb: Stop calling rspec_clear in specs (which really should have been rspec_reset...
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:16:42 +0000 (01:16 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:16:42 +0000 (01:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669004 13f79535-47bb-0310-9956-ffa450edef68

lib/rb/spec/binaryprotocol_spec.rb

index 5249cd9..2b52637 100644 (file)
@@ -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)