Sha256: 2722aa3215de92a5098838f1dde1972a99a80090e520e5740b4eaafc2372cefb
Contents?: true
Size: 1.08 KB
Versions: 3
Compression:
Stored size: 1.08 KB
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) if ENV['COVERAGE'] require 'simplecov' SimpleCov.start end require 'rubygems' # Use the gems path only for the spec suite require 'riak' require 'rspec' require 'stringio' # Only the tests should really get away with this. Riak.disable_list_keys_warnings = true %w[integration_setup version_filter wait_until search_corpus_setup unified_backend_examples test_client].each do |file| require File.join("support", file) end RSpec.configure do |config| #config.debug = true config.mock_with :rspec config.before(:each) do Riak::RObject.on_conflict_hooks.clear end if TestClient.test_client_configuration[:authentication] config.filter_run_excluding no_security: true else config.filter_run_excluding yes_security: true end config.filter_run :focus => true config.run_all_when_everything_filtered = true if defined?(::Java) config.seed = Time.now.utc else config.order = :random end config.raise_errors_for_deprecations! end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
riak-client-2.0.0 | spec/spec_helper.rb |
riak-client-2.0.0.rc2 | spec/spec_helper.rb |
riak-client-2.0.0.rc1 | spec/spec_helper.rb |