spec/spec_helper.rb in protobuf-1.0.0 vs spec/spec_helper.rb in protobuf-1.0.1
- old
+ new
@@ -11,14 +11,12 @@
require 'protobuf'
require 'protobuf/rpc/client'
class ::Protobuf::Rpc::Client
def == other
- options == other.options && \
- error == other.error && \
- do_block == other.do_block && \
- @success_callback == other.instance_variable_get(:@success_callback) && \
- @failure_callback == other.instance_variable_get(:@failure_callback)
+ connector.options == other.options && \
+ success_cb == other.success_cb && \
+ failure_cb == other.failure_cb
end
end
def reset_service_location service
service.instance_variable_set :@locations, nil
\ No newline at end of file