require 'mocha' require 'pathname' require 'boot' require 'geokit' require 'geokit-rails3' ActiveRecord::Base.send(:include, Geokit::ActsAsMappable::Glue) class GeokitTestCase < ActiveSupport::TestCase begin include ActiveRecord::TestFixtures rescue NameError puts "You appear to be using a pre-2.3 version of Rails. No need to include ActiveRecord::TestFixtures." end self.fixture_path = (PLUGIN_ROOT + 'test/fixtures').to_s self.use_transactional_fixtures = true self.use_instantiated_fixtures = false fixtures :all end