# 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