diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-31 17:51:16 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-31 17:51:16 -0500 |
commit | a9cb1968b6a01572a472a3df3aa750ebc022e076 (patch) | |
tree | 67041c959cbc65b99995c453f845ee96fc61f311 /activestorage/test/test_helper.rb | |
parent | ba12811db22de23e935b43f39cac8da523fa0ded (diff) | |
download | rails-a9cb1968b6a01572a472a3df3aa750ebc022e076.tar.gz rails-a9cb1968b6a01572a472a3df3aa750ebc022e076.tar.bz2 rails-a9cb1968b6a01572a472a3df3aa750ebc022e076.zip |
Setup travis to be able to run CI tests against S3
Diffstat (limited to 'activestorage/test/test_helper.rb')
-rw-r--r-- | activestorage/test/test_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/test/test_helper.rb b/activestorage/test/test_helper.rb index 9922c8685c..7826c1aeba 100644 --- a/activestorage/test/test_helper.rb +++ b/activestorage/test/test_helper.rb @@ -14,7 +14,7 @@ require "active_storage" require "yaml" SERVICE_CONFIGURATIONS = begin - YAML.load_file(File.expand_path("../service/configurations.yml", __FILE__)).deep_symbolize_keys + YAML.load(ERB.new(Pathname.new(File.expand_path("../service/configurations.yml", __FILE__)).read).result).deep_symbolize_keys rescue Errno::ENOENT puts "Missing service configuration file in test/service/configurations.yml" {} |