Sha256: ea928006d074033ffd0ca901142b387b4f0faf569dad2e1950e73525a7bc26c0
Contents?: true
Size: 326 Bytes
Versions: 4
Compression:
Stored size: 326 Bytes
Contents
require 'helper' describe "Mongo adapter" do before do @client = Mongo::Connection.new.db('test')['test'] @adapter = Adapter[adapter_name].new(@client) @adapter.clear end let(:adapter_name) { :mongo } let(:adapter) { @adapter } let(:client) { @client } it_should_behave_like 'a mongo adapter' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
adapter-mongo-0.7.0 | spec/mongo_spec.rb |
adapter-mongo-0.6.0 | spec/mongo_spec.rb |
adapter-mongo-0.5.6 | spec/mongo_spec.rb |
adapter-mongo-0.5.5 | spec/mongo_spec.rb |