diff --git a/spec/controllers/search_controller_spec.rb b/spec/controllers/search_controller_spec.rb new file mode 100644 index 0000000..fbcbd18 --- /dev/null +++ b/spec/controllers/search_controller_spec.rb @@ -0,0 +1,12 @@ +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