Sha256: c29303e3a1a8e05bf0e6350a7230c060c80f11da4203c8c5e95a69e931a7e7e8

Contents?: true

Size: 566 Bytes

Versions: 4

Compression:

Stored size: 566 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
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

4 entries across 4 versions & 2 rubygems

Version Path
nofxx-postgis_adapter-0.5.0 spec/spec_helper.rb
nofxx-postgis_adapter-0.5.1 spec/spec_helper.rb
postgis_adapter-0.5.0 spec/spec_helper.rb
postgis_adapter-0.5.1 spec/spec_helper.rb