Sha256: 7711c3db8ab55fcd51ea5f3ebbef867c39e6f94d8f6ecaded750833884a39f16

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

require 'rubygems'
require 'spec'
require 'postgres'
require 'activerecord'
require 'rspec_spinner'

gem 'activerecord', "=2.3.2"

$:.unshift((File.join(File.dirname(__FILE__), '..', 'lib')))
require 'postgis_adapter'
GeoRuby::Base.srid = -1
config = YAML.load_file(File.dirname(__FILE__) + '/db/database_postgis.yml')
# ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log")
ActiveRecord::Base.establish_connection(config)
#require File.dirname(__FILE__) + '/db/schema_postgis.rb'
require File.dirname(__FILE__) + '/db/models_postgis.rb'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nofxx-postgis_adapter-0.3.9 spec/spec_helper.rb