Permalink
Browse files

Merge pull request #30030 from claudiob/only-disk

Let ActiveStorage tests pass only for Disk
  • Loading branch information...
guilleiguaran committed Aug 1, 2017
2 parents 7f54123 + 8b20789 commit d66fadeb676eec32670b944cdf9fb273deba31aa
Showing with 3 additions and 1 deletion.
  1. +3 −1 activestorage/test/test_helper.rb
@@ -14,7 +14,9 @@
require "yaml"
SERVICE_CONFIGURATIONS = begin
YAML.load(ERB.new(Pathname.new(File.expand_path("../service/configurations.yml", __FILE__)).read).result).deep_symbolize_keys
erb = ERB.new(Pathname.new(File.expand_path("../service/configurations.yml", __FILE__)).read)
configuration = YAML.load(erb.result) || {}
configuration.deep_symbolize_keys
rescue Errno::ENOENT
puts "Missing service configuration file in test/service/configurations.yml"
{}

0 comments on commit d66fade

Please sign in to comment.