ENV["RAILS_ENV"] = "test" RAILS_ROOT = File.join(File.dirname(__FILE__)) require 'rubygems' require 'test/unit' require 'active_record'