Sha256: b7f308947c227b98a8b1620ff4402787b6233df81377f659fd1ea459278f44bf
Contents?: true
Size: 499 Bytes
Versions: 4
Compression:
Stored size: 499 Bytes
Contents
require "rubygems" require "database_cleaner" require "mongoid" require "rspec" Mongoid.configure do |config| name = "mongoid_follow_test" config.master = Mongo::Connection.new.db(name) end require File.expand_path("../../lib/mongoid_follow", __FILE__) require File.expand_path("../models/user", __FILE__) require File.expand_path("../models/group", __FILE__) RSpec.configure do |c| c.before(:all) { DatabaseCleaner.strategy = :truncation } c.before(:each) { DatabaseCleaner.clean } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mongoid_follow-0.2.1 | spec/spec_helper.rb |
mongoid_follow-0.2.0 | spec/spec_helper.rb |
mongoid_follow-0.1.0 | spec/spec_helper.rb |
mongoid_follow-0.0.2 | spec/spec_helper.rb |