Sha256: af913f84c05bac4e9c35783a33359b96c2a2b3dfc02d80fcaf958cbc0df48210
Contents?: true
Size: 391 Bytes
Versions: 15
Compression:
Stored size: 391 Bytes
Contents
require 'abstract_db_create' require 'db/postgres' class PostgresDbCreateTest < Test::Unit::TestCase include AbstractDbCreate def db_config POSTGRES_CONFIG end if find_executable?("psql") def test_rake_db_create Rake::Task["db:create"].invoke output = `psql -c '\\l'` assert output =~ /#{@db_name}/m end else def test_skipped end end end
Version data entries
15 entries across 15 versions & 3 rubygems