Sha256: 1c44e396b2f9a46ec31061fdab2915c3f7aa5bd74be4fc31f0d462f7e0ae6029
Contents?: true
Size: 944 Bytes
Versions: 4
Compression:
Stored size: 944 Bytes
Contents
require 'simplecov' SimpleCov.start require 'rubygems' require 'bundler' Bundler.setup :default, :development, :test $:.push File.expand_path('..', File.dirname(__FILE__)) $:.push File.expand_path('../lib', File.dirname(__FILE__)) require 'protobuf' require 'protobuf/rpc/client' require File.dirname(__FILE__) + '/helper/all' # 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) end RSpec.configure do |c| c.include(SilentConstants) c.include(Sander6::CustomMatchers) c.mock_with :rspec end class ::Protobuf::Rpc::Client def == other 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 end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
protobuf-1.1.3 | spec/spec_helper.rb |
protobuf-1.1.2 | spec/spec_helper.rb |
protobuf-1.1.1 | spec/spec_helper.rb |
protobuf-1.1.0.beta2 | spec/spec_helper.rb |