spec/mongo_atomic_spec.rb in adapter-mongo-0.7.0 vs spec/mongo_atomic_spec.rb in adapter-mongo-0.8.0

- old
+ new

@@ -1,9 +1,9 @@ require 'helper' describe "Mongo atomic adapter" do before do - @client = Mongo::Connection.new.db('test')['test'] + @client = Mongo::MongoClient.new.db('test')['test'] @adapter = Adapter[adapter_name].new(@client) @adapter.clear end let(:adapter_name) { :mongo_atomic }