Sha256: d386d48b4ed0628793e61096f426f79cc231eb3077dd56e473dbddd96503c548

Contents?: true

Size: 645 Bytes

Versions: 11

Compression:

Stored size: 645 Bytes

Contents

begin
  require 'spec'
  require 'postgres'
require 'activerecord'
rescue LoadError
  require 'rubygems'
  gem 'rspec'
  require 'spec'
  require 'postgres'
require 'activerecord'
end
  require 'rspec_spinner'

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

11 entries across 11 versions & 2 rubygems

Version Path
nofxx-postgis_adapter-0.2.1 spec/spec_helper.rb
nofxx-postgis_adapter-0.2.2 spec/spec_helper.rb
nofxx-postgis_adapter-0.3.0 spec/spec_helper.rb
nofxx-postgis_adapter-0.3.1 spec/spec_helper.rb
nofxx-postgis_adapter-0.3.3 spec/spec_helper.rb
nofxx-postgis_adapter-0.3.4 spec/spec_helper.rb
postgis_adapter-0.3.5 spec/spec_helper.rb
postgis_adapter-0.3.4 spec/spec_helper.rb
postgis_adapter-0.3.0 spec/spec_helper.rb
postgis_adapter-0.2.3 spec/spec_helper.rb
postgis_adapter-0.2.1 spec/spec_helper.rb