mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Removed insist from logstash-event gemspec and also removed the jar_spec as it's no longer needed
Fixes #2319
This commit is contained in:
parent
45b39d6cb6
commit
87aea97f49
2 changed files with 1 additions and 27 deletions
|
@ -21,9 +21,8 @@ Gem::Specification.new do |gem|
|
|||
gem.name = "logstash-event"
|
||||
gem.require_paths = ["lib"]
|
||||
gem.version = "1.2.02"
|
||||
|
||||
|
||||
gem.add_development_dependency "rspec"
|
||||
gem.add_development_dependency "guard"
|
||||
gem.add_development_dependency "guard-rspec"
|
||||
gem.add_development_dependency "insist", "1.0.0"
|
||||
end
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
describe "logstash jar features", :if => (__FILE__ =~ /file:.*!/) do
|
||||
let(:jar_root) { __FILE__.split("!").first + "!" }
|
||||
|
||||
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")
|
||||
expect(File.exist?(path)).to be_true
|
||||
end
|
||||
|
||||
it "must contain vendor/ua-parser/regexes.yaml" do
|
||||
path = File.join(jar_root, "vendor/ua-parser/regexes.yaml")
|
||||
expect(File.exist?(path)).to be_true
|
||||
end
|
||||
|
||||
it "must successfully load aws-sdk (LOGSTASH-1718)" do
|
||||
require "aws-sdk"
|
||||
# trigger autoload
|
||||
AWS::Errors
|
||||
AWS::Record
|
||||
AWS::Core::AsyncHandle
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue