~ubuntu-branches/ubuntu/utopic/ruby-database-cleaner/utopic-proposed

« back to all changes in this revision

Viewing changes to spec/support/active_record/database_setup.rb

  • Committer: Package Import Robot
  • Author(s): Pirate Praveen
  • Date: 2014-05-24 01:23:06 UTC
  • Revision ID: package-import@ubuntu.com-20140524012306-1nn3zh7s867f2gn9
Tags: upstream-1.2.0
ImportĀ upstreamĀ versionĀ 1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
def db_config
 
2
  config_path = 'db/config.yml'
 
3
  @db_config ||= YAML.load(IO.read(config_path))
 
4
end