Sha256: c581e474b7bd9c0544049313d70cf363398eadcc9e827292068eead7c6c4727d

Contents?: true

Size: 499 Bytes

Versions: 18

Compression:

Stored size: 499 Bytes

Contents

# coding: UTF-8

require 'rubygems'
require 'bundler'
Bundler.setup
require 'sequel'

require File.expand_path("../support/database_connection", __FILE__)

RSpec.configure do |config|
  config.mock_with :mocha
  
  config.before(:each) do
    CartoDB::DatabaseConnection.connection.tables.each do |t| 
      next if %W{ raster_columns raster_overviews geography_columns geometry_columns spatial_ref_sys }.include?(t.to_s)
      CartoDB::DatabaseConnection.connection.drop_table(t)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
cartodb-importer-0.2.19 spec/spec_helper.rb
cartodb-importer-0.2.18 spec/spec_helper.rb
cartodb-importer-0.2.17 spec/spec_helper.rb
cartodb-importer-0.2.16 spec/spec_helper.rb
cartodb-importer-0.2.15 spec/spec_helper.rb
cartodb-importer-0.2.14 spec/spec_helper.rb
cartodb-importer-0.2.13 spec/spec_helper.rb
cartodb-importer-0.2.12 spec/spec_helper.rb
cartodb-importer-0.2.11 spec/spec_helper.rb
cartodb-importer-0.2.10 spec/spec_helper.rb
cartodb-importer-0.2.9 spec/spec_helper.rb
cartodb-importer-0.2.8 spec/spec_helper.rb
cartodb-importer-0.2.7 spec/spec_helper.rb
cartodb-importer-0.2.6 spec/spec_helper.rb
cartodb-importer-0.2.5 spec/spec_helper.rb
cartodb-importer-0.2.4 spec/spec_helper.rb
cartodb-importer-0.2.3 spec/spec_helper.rb
cartodb-importer-0.2.2 spec/spec_helper.rb