From a9cb1968b6a01572a472a3df3aa750ebc022e076 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 31 Jul 2017 17:51:16 -0500 Subject: Setup travis to be able to run CI tests against S3 --- activestorage/test/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activestorage/test/test_helper.rb') 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" {} -- cgit v1.2.3