stadtratmonitor/spec/controllers/search_controller_spec.rb

13 lines
266 B
Ruby
Raw Normal View History

2016-02-17 08:59:52 +01:00
require 'rails_helper'
2016-02-17 20:46:03 +01:00
RSpec.describe SearchController, type: :controller, elasticsearch: true do
2016-02-17 08:59:52 +01:00
describe "GET #index" do
it "returns http success" do
get :index, body: 'leipzig'
expect(response).to have_http_status(:success)
end
end
end