spec/lite_spec_helper.rb in mongo-2.9.0.rc0 vs spec/lite_spec_helper.rb in mongo-2.9.0.rc1
- old
+ new
@@ -16,25 +16,9 @@
TRANSACTIONS_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/transactions/*.yml")
TRANSACTIONS_API_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/transactions_api/*.yml")
CHANGE_STREAMS_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/change_streams/*.yml")
CMAP_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/cmap/*.yml")
-if ENV['DRIVERS_TOOLS']
- CLIENT_CERT_PEM = ENV['DRIVER_TOOLS_CLIENT_CERT_PEM']
- CLIENT_KEY_PEM = ENV['DRIVER_TOOLS_CLIENT_KEY_PEM']
- CA_PEM = ENV['DRIVER_TOOLS_CA_PEM']
- CLIENT_KEY_ENCRYPTED_PEM = ENV['DRIVER_TOOLS_CLIENT_KEY_ENCRYPTED_PEM']
-else
- SSL_CERTS_DIR = "#{CURRENT_PATH}/support/certificates"
- CLIENT_PEM = "#{SSL_CERTS_DIR}/client.pem"
- CA_PEM = "#{SSL_CERTS_DIR}/ca.pem"
- CRL_PEM = "#{SSL_CERTS_DIR}/crl.pem"
- CLIENT_KEY_PEM = "#{SSL_CERTS_DIR}/client_key.pem"
- CLIENT_CERT_PEM = "#{SSL_CERTS_DIR}/client_cert.pem"
- CLIENT_KEY_ENCRYPTED_PEM = "#{SSL_CERTS_DIR}/client_key_encrypted.pem"
- CLIENT_KEY_PASSPHRASE = "passphrase"
-end
-
require 'mongo'
unless ENV['CI']
begin
require 'byebug'