Sha256: ae6258d757577da2c3ed9c506ad0e528a9977d3b649a7522f21f76e80cc84a1c

Contents?: true

Size: 335 Bytes

Versions: 10

Compression:

Stored size: 335 Bytes

Contents

# encoding: utf-8
require_relative "../../spec_helper"
require "sinatra"
require "app/root"
require "logstash/json"

describe LogStash::Api::Root do

  include Rack::Test::Methods

  def app()
    described_class
  end

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

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
logstash-core-5.0.0.alpha3.snapshot5-java spec/api/lib/api/root_spec.rb
logstash-core-5.0.0.alpha3.snapshot4-java spec/api/lib/api/root_spec.rb
logstash-core-5.0.0.alpha3.snapshot2-java spec/api/lib/api/root_spec.rb
logstash-core-5.0.0.alpha3.snapshot1-java spec/api/lib/api/root_spec.rb
logstash-core-5.0.0.alpha2-java spec/api/lib/api/root_spec.rb
logstash-core-5.0.0.alpha2.snapshot2-java spec/api/lib/api/root_spec.rb
logstash-core-5.0.0.alpha2.snapshot1-java spec/api/lib/api/root_spec.rb
logstash-core-5.0.0.alpha1-java spec/api/lib/api/root_spec.rb
logstash-core-5.0.0.alpha1.snapshot2-java spec/api/lib/api/root_spec.rb
logstash-core-5.0.0.alpha1.snapshot1-java spec/api/lib/api/root_spec.rb