spec/spec_helper.rb in mongoid_rating-0.0.2 vs spec/spec_helper.rb in mongoid_rating-0.1.0

- old
+ new

@@ -1,23 +1,22 @@ +require 'coveralls' +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 'coveralls' -Coveralls.wear! - require "mongoid_rating" Dir["#{MODELS}/*.rb"].each { |f| require f } Mongoid.configure do |config| - config.connect_to "mongoid_rateable_test" + config.connect_to "mongoid_rating_test" end Mongoid.logger = Logger.new($stdout) DatabaseCleaner.orm = "mongoid"