Sha256: 3d5d673e49b213393231ac248fdda7c0837a786881a1751c731a06419800da7d

Contents?: true

Size: 759 Bytes

Versions: 13

Compression:

Stored size: 759 Bytes

Contents

require 'lite_spec_helper'

# Replica set name can be overridden via replicaSet parameter in MONGODB_URI
# environment variable or by specifying RS_NAME environment variable when
# not using MONGODB_URI.
TEST_SET = 'ruby-driver-rs'

require 'support/authorization'
require 'support/primary_socket'
require 'support/constraints'
require 'support/cluster_config'
require 'support/cluster_tools'
require 'rspec/retry'
require 'support/monitoring_ext'

RSpec.configure do |config|
  config.include(Authorization)
  config.extend(Constraints)

  config.before(:all) do
    if ClusterConfig.instance.fcv_ish >= '3.6'
      kill_all_server_sessions
    end
  end
end

# require all shared examples
Dir['./spec/support/shared/*.rb'].sort.each { |file| require file }

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mongo-2.10.5 spec/spec_helper.rb
mongo-2.10.4 spec/spec_helper.rb
mongo-2.10.3 spec/spec_helper.rb
mongo-2.9.2 spec/spec_helper.rb
mongo-2.10.2 spec/spec_helper.rb
mongo-2.10.1 spec/spec_helper.rb
mongo-2.10.0 spec/spec_helper.rb
mongo-2.9.1 spec/spec_helper.rb
mongo-2.10.0.rc0 spec/spec_helper.rb
mongo-2.9.1.rc0 spec/spec_helper.rb
mongo-2.9.0 spec/spec_helper.rb
mongo-2.9.0.rc1 spec/spec_helper.rb
mongo-2.9.0.rc0 spec/spec_helper.rb