Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.10.0
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.411 kb
$:.unshift(File.expand_path('../../lib', __FILE__))
require 'pathname'
require 'rubygems'
require 'bundler'
Bundler.require(:default, :test)
require 'toy/mongo'
require 'support/constants'
require 'support/callbacks_helper'
STORE = Mongo::Connection.new.db('testing')["toystore-mongo-#{RUBY_VERSION}"]
RSpec.configure do |c|
c.include(Support::Constants)
c.before(:each) do
STORE.remove
end
end
Jump to Line
Something went wrong with that request. Please try again.