ENV["RAILS_ENV"] ||= 'test' require 'rubygems' require 'spec' require 'active_record' require 'spec/autorun' require File.dirname(__FILE__) + '/../lib/acts_as_textcaptcha' require File.dirname(__FILE__) + '/../init.rb' ActiveRecord::Base.establish_connection(YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))[ENV['DB'] || 'sqlite3']) load(File.dirname(__FILE__) + "/schema.rb")