Sha256: 352e9922301be3e4e6a20fae85c47a63460cec813b7a87fad2441f2acd2c2809
Contents?: true
Size: 411 Bytes
Versions: 3
Compression:
Stored size: 411 Bytes
Contents
$:.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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
toystore-mongo-0.12.0 | spec/helper.rb |
toystore-mongo-0.11.0 | spec/helper.rb |
toystore-mongo-0.10.0 | spec/helper.rb |