ENV['RAILS_ENV'] = 'test' require File.expand_path("../railsapp/config/environment.rb", __FILE__) require 'rails/test_help' def load_schema load(File.dirname(__FILE__) + "/schema.rb") end