Sha256: 54a7adb89e8e27d47105b4f8acd9a84eac29934fd21404ea253cb37b840d806c

Contents?: true

Size: 626 Bytes

Versions: 3

Compression:

Stored size: 626 Bytes

Contents

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

gem 'activerecord', "=2.3.3"

$:.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

3 entries across 3 versions & 1 rubygems

Version Path
nofxx-postgis_adapter-0.5.6 spec/spec_helper.rb
nofxx-postgis_adapter-0.5.7 spec/spec_helper.rb
nofxx-postgis_adapter-0.7.0 spec/spec_helper.rb