spec/spec_helper.rb in protobuf-1.1.3 vs spec/spec_helper.rb in protobuf-1.3.0

- old
+ new

@@ -9,9 +9,15 @@ $:.push File.expand_path('../lib', File.dirname(__FILE__)) require 'protobuf' require 'protobuf/rpc/client' require File.dirname(__FILE__) + '/helper/all' +require 'pry' + +# these aren't explicitly required in lib/protobuf.rb. We require them here for +# testing purposes +require 'ffi-rzmq' +require 'protobuf/rpc/connectors/zmq' # Including a way to turn on debug logger for spec runs if ENV["DEBUG"] debug_log = File.expand_path('../debug_specs.log', File.dirname(__FILE__) ) Protobuf::Logger.configure(:file => debug_log, :level => ::Logger::DEBUG)