spec/mongo/protocol/query_spec.rb in mongo-2.6.4 vs spec/mongo/protocol/query_spec.rb in mongo-2.7.0.rc0
- old
+ new
@@ -2,10 +2,10 @@
require 'spec_helper'
describe Mongo::Protocol::Query do
let(:opcode) { 2004 }
- let(:db) { TEST_DB }
+ let(:db) { SpecConfig.instance.test_db }
let(:coll) { TEST_COLL }
let(:ns) { "#{db}.#{coll}" }
let(:selector) { { :name => 'Tyler' } }
let(:options) { Hash.new }