1. Sean Davis
  2. mysql2postgres

Source

mysql2postgres / test / integration / postgres_db_writer_base_test.rb

require 'test_helper'

require 'mysql2psql/postgres_db_writer'

class PostgresDbWriterBaseTest < Test::Unit::TestCase
  attr_accessor :options
  class << self
    def startup
      seed_test_database
      @@options = get_test_config( 'config_localmysql_to_db_convert_nothing.yml' )
    end
    def shutdown
    end
  end
  def setup
  end
  def teardown
  end
  def options
    @@options
  end
  
  def test_pg_connection
    assert_nothing_raised do
      reader = Mysql2psql::PostgresDbWriter.new(options)
    end
  end

end