mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-23 08:03:14 +01:00
12 lines
266 B
Ruby
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
|