Commit 443f9d9c7f10b75e66330c067e38fb0160bee908
1 parent
435d9634
Exists in
master
and in
8 other branches
Added comment [skip ci]
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/test_helper.rb
@@ -8,6 +8,7 @@ require "active_support/notifications" | @@ -8,6 +8,7 @@ require "active_support/notifications" | ||
8 | 8 | ||
9 | ENV["RACK_ENV"] = "test" | 9 | ENV["RACK_ENV"] = "test" |
10 | 10 | ||
11 | +# for reloadable synonyms | ||
11 | ENV["ES_PATH"] ||= "#{ENV["HOME"]}/elasticsearch/#{ENV["ELASTICSEARCH_VERSION"]}" if ENV["TRAVIS"] | 12 | ENV["ES_PATH"] ||= "#{ENV["HOME"]}/elasticsearch/#{ENV["ELASTICSEARCH_VERSION"]}" if ENV["TRAVIS"] |
12 | 13 | ||
13 | $logger = ActiveSupport::Logger.new(ENV["VERBOSE"] ? STDOUT : nil) | 14 | $logger = ActiveSupport::Logger.new(ENV["VERBOSE"] ? STDOUT : nil) |