Skip to content

Commit

Permalink
Load configurations manually for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Griffin committed Aug 7, 2012
1 parent a119eee commit e7fb1d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

require 'data_fabric'

DataFabricDynamicSwitching.load_configurations( File.join(File.dirname(__FILE__), "database.yml") )

def load_database_yml
filename = DATABASE_YML_PATH
YAML::load(ERB.new(IO.read(filename)).result)
Expand Down

0 comments on commit e7fb1d9

Please sign in to comment.