mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 07:43:13 +01:00
Remove pending test in SearchControllerSpec
This commit is contained in:
parent
c08ce6864c
commit
3c9af21f2c
1 changed files with 0 additions and 9 deletions
|
@ -20,15 +20,6 @@ RSpec.describe SearchController, type: :controller, elasticsearch: true do
|
|||
expect(response).to render_template(:index)
|
||||
end
|
||||
|
||||
it 'executes the search with PaperSearch parameters' do
|
||||
pending('simplify search implementation')
|
||||
result_page = double('page', results: []) # MEH
|
||||
response = double('es_response', page: result_page)
|
||||
expect(Paper).to receive(:search).and_return(response)
|
||||
|
||||
get :index, body: 'leipzig'
|
||||
end
|
||||
|
||||
it 'returns rss' do
|
||||
get :index, format: 'rss', body: 'leipzig'
|
||||
expect(response).to be_success
|
||||
|
|
Loading…
Reference in a new issue