stadtratmonitor/spec/controllers/search_controller_spec.rb
2016-02-17 20:46:03 +01:00

12 lines
266 B
Ruby

require 'rails_helper'
RSpec.describe SearchController, type: :controller, elasticsearch: true do
describe "GET #index" do
it "returns http success" do
get :index, body: 'leipzig'
expect(response).to have_http_status(:success)
end
end
end