spec/spec_helper.rb in mongoid_rating-0.1.3 vs spec/spec_helper.rb in mongoid_rating-0.1.4

- old
+ new

@@ -2,17 +2,16 @@ Coveralls.wear! $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib")) -MODELS = File.join(File.dirname(__FILE__), "models") - require "rubygems" require "rspec" require "mongoid" require "database_cleaner" require "mongoid_rating" +MODELS = File.join(File.dirname(__FILE__), "models") Dir["#{MODELS}/*.rb"].each { |f| require f } Mongoid.configure do |config| config.connect_to "mongoid_rating_test" end