require 'rubygems' require 'test/unit' require 'shoulda' require 'mocha' require 'pp' $LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib" ['deep_clonable', 'ordered_set'].each do |dir| $LOAD_PATH.unshift File.dirname(__FILE__) + "/../../#{dir}/lib" end require 'model_set' class Test::Unit::TestCase end ActiveRecord::Base.establish_connection( :adapter => "postgresql", :host => "localhost", :username => "postgres", :password => "", :database => "model_set_test" ) ActiveRecord::Migration.verbose = false ActiveRecord::Base.connection.client_min_messages = 'panic'