Sha256: b58a1ddcf4125902481d0f9284ad75e83704c6c34eec2e1609f58c585e0be838

Contents?: true

Size: 405 Bytes

Versions: 33

Compression:

Stored size: 405 Bytes

Contents

# encoding: utf-8
require_relative "../../spec_helper"
require_relative "../../../support/shared_examples"
require "sinatra"
require "logstash/api/modules/root"
require "logstash/json"

describe LogStash::Api::Modules::Root do
  include_context "api setup"

  it "should respond to root resource" do
    do_request { get "/" }
    expect(last_response).to be_ok
  end

  include_examples "not found"
end

Version data entries

33 entries across 32 versions & 9 rubygems

Version Path
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/logstash-core-5.2.1-java/spec/api/lib/api/root_spec.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/logstash-core-5.2.1-java/spec/api/lib/api/root_spec.rb
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/logstash-core-5.0.0-java/spec/api/lib/api/root_spec.rb
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/logstash-core-5.2.1-java/spec/api/lib/api/root_spec.rb
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/logstash-core-5.2.1-java/spec/api/lib/api/root_spec.rb
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/api/root_spec.rb
logstash-core-5.4.3-java spec/api/lib/api/root_spec.rb
logstash-core-5.4.2-java spec/api/lib/api/root_spec.rb
logstash-filter-csharp-0.1.0 vendor/bundle/jruby/2.3.0/gems/logstash-core-5.2.1-java/spec/api/lib/api/root_spec.rb
logstash-core-5.4.1-java spec/api/lib/api/root_spec.rb
logstash-core-5.3.3-java spec/api/lib/api/root_spec.rb
logstash-filter-htmlentities-0.1.0 vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/api/root_spec.rb
logstash-output-icinga-1.0.0 vendor/jruby/1.9/gems/logstash-core-5.2.1-java/spec/api/lib/api/root_spec.rb
logstash-core-5.4.0-java spec/api/lib/api/root_spec.rb
logstash-core-5.3.2-java spec/api/lib/api/root_spec.rb
logstash-core-5.3.1-java spec/api/lib/api/root_spec.rb
logstash-core-5.3.0-java spec/api/lib/api/root_spec.rb
logstash-core-5.2.2-java spec/api/lib/api/root_spec.rb
logstash-input-fifo-0.9.1 vendor/bundle/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/api/root_spec.rb
logstash-input-fifo-0.9.0 vendor/bundle/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/api/root_spec.rb