We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 099f1fd commit 59a233fCopy full SHA for 59a233f
spec/filters/geoip_online_spec.rb
@@ -15,6 +15,8 @@
15
dir_path = Stud::Temporary.directory
16
File.open(dir_path + '/uuid', 'w') { |f| f.write(SecureRandom.uuid) }
17
allow(LogStash::SETTINGS).to receive(:get).and_call_original
18
+ allow(LogStash::SETTINGS).to receive(:get).with("xpack.geoip.downloader.enabled").and_return(true)
19
+ allow(LogStash::SETTINGS).to receive(:get).with("xpack.geoip.download.endpoint").and_return(nil)
20
allow(LogStash::SETTINGS).to receive(:get).with("path.data").and_return(dir_path)
21
end
22
0 commit comments