Remove controller spec that is rewritten as request spec.
This commit is contained in:
parent
4e07bbfbbf
commit
049d925213
|
@ -28,11 +28,6 @@ describe ListController do
|
||||||
parsed = JSON.parse(response.body)
|
parsed = JSON.parse(response.body)
|
||||||
expect(parsed["topic_list"]["topics"].length).to eq(1)
|
expect(parsed["topic_list"]["topics"].length).to eq(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "doesn't throw an error with a negative page" do
|
|
||||||
get :top, params: { page: -1024 }
|
|
||||||
expect(response).to be_success
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
describe 'RSS feeds' do
|
describe 'RSS feeds' do
|
||||||
|
|
Loading…
Reference in New Issue