Sha256: f47ab965384eba9ad9a0cf70936306ade486164b7f31e15e9bba9c0b9ca7714f
Contents?: true
Size: 619 Bytes
Versions: 3
Compression:
Stored size: 619 Bytes
Contents
begin require 'spec' require 'postgres' require 'activerecord' rescue LoadError require 'rubygems' gem 'rspec' require 'spec' require 'postgres' require 'activerecord' end $:.unshift(File.dirname(__FILE__) + '/../lib') 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__) + '/../init.rb' require File.dirname(__FILE__) + '/db/models_postgis.rb' def load_schema load(File.dirname(__FILE__) + "/db/schema_postgis.rb") end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nofxx-postgis_adapter-0.1.2 | spec/spec_helper.rb |
nofxx-postgis_adapter-0.1.7 | spec/spec_helper.rb |
nofxx-postgis_adapter-0.1.8 | spec/spec_helper.rb |