Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.5.6
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.326 kb
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
Jump to Line
Something went wrong with that request. Please try again.