Sha256: b0f1b822fe30f39628561377232ea8f6b4de872fec556efb8d2496e7e5476518

Contents?: true

Size: 628 Bytes

Versions: 1

Compression:

Stored size: 628 Bytes

Contents

require 'rubygems'
require 'spec'
require 'pg'
require 'activerecord'
# require 'rspec_spinner'

gem 'activerecord', "=2.3.2"

$:.unshift((File.join(File.dirname(__FILE__), '..', 'lib')))
require 'postgis_adapter'
GeoRuby::SimpleFeatures.srid = -1

# ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log")
ActiveRecord::Base.establish_connection({ :adapter => "postgresql", :database => "postgis_plugin",
                                          :username => "postgres", :password => "" })
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.5.5 spec/spec_helper.rb