Sha256: e9d78e2c5c2b3181e9da0c94c30eb1ec1cc9121d06b9f3e98241a73aed392e0f

Contents?: true

Size: 537 Bytes

Versions: 1

Compression:

Stored size: 537 Bytes

Contents

require "insist"

describe "logstash jar features", :if => (__FILE__ =~ /file:.*~/) do
  before :each 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)
  end

  it "must contain vendor/ua-parser/regexes.yaml" do
    path = File.join(@jar_root, "vendor/ua-parser/regexes.yaml")
    insist { File }.exists?(path)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-lib-1.3.2 spec/jar.rb