Remove controller spec that is rewritten as request spec.

This commit is contained in:
Guo Xiang Tan 2017-10-02 10:47:22 +08:00
parent 4e07bbfbbf
commit 049d925213
1 changed files with 0 additions and 5 deletions

View File

@ -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