mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
only run from a jar
This commit is contained in:
parent
8638ec18f2
commit
4e80ab0a6b
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ describe "logstash jar features" do
|
|||
@jar_root = __FILE__.split("!").first + "!"
|
||||
end
|
||||
|
||||
it "must be only run from a jar" do
|
||||
insist { __FILE__ } =~ /file:.*!/
|
||||
end
|
||||
|
||||
it "must contain GeoLiteCity.dat" do
|
||||
path = File.join(@jar_root, "GeoLiteCity.dat")
|
||||
insist { File }.exists?(path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue