Sha256: 9f1a4077dcc608d8c400fec9c1fa91cb630358e729a73c3161f597adf76cd8e1

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

require 'db/postgres'
require 'abstract_db_create'

class PostgresDbDropTest < Test::Unit::TestCase
  include AbstractDbCreate

  def db_config
    POSTGRES_CONFIG
  end

  def test_dropping_nonexistent_database_does_not_raise_exception
    assert_nothing_raised do
      Rake::Task["db:drop"].invoke
    end
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-jdbc-adapter-1.3.0.beta1 test/db/postgres/db_drop_test.rb