spec/spec_helper.rb in mongoid_follow-0.2.1 vs spec/spec_helper.rb in mongoid_follow-0.2.2
- old
+ new
@@ -9,9 +9,10 @@
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/other_user", __FILE__)
require File.expand_path("../models/group", __FILE__)
RSpec.configure do |c|
c.before(:all) { DatabaseCleaner.strategy = :truncation }
c.before(:each) { DatabaseCleaner.clean }