Sha256: e62a99d1c68e40ef43bcc7950d18720ee998a126693d63f7d4f0699f1f0928b7

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

Main.configure do |m|
  m.set :database_url, "sqlite://db/development.db"
end

Main.configure(:test) do |m|
  path = "#{Dir.tmpdir}/test-#{rand}.db"

  m.set :migrations_log, lambda { StringIO.new }
  m.set :database_url, "sqlite://#{path}"

  at_exit { FileUtils.rm_rf path }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aura-0.0.1.pre10 config/database.rb