mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-10-18 23:54:37 +02:00
13 lines
245 B
Ruby
13 lines
245 B
Ruby
|
require 'rails_helper'
|
||
|
|
||
|
RSpec.describe SearchController, type: :controller do
|
||
|
|
||
|
describe "GET #index" do
|
||
|
it "returns http success" do
|
||
|
get :index, body: 'leipzig'
|
||
|
expect(response).to have_http_status(:success)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|