From 049d92521321cdb9e7b8059c97344bd7364282ea Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 2 Oct 2017 10:47:22 +0800 Subject: [PATCH] Remove controller spec that is rewritten as request spec. --- spec/controllers/list_controller_spec.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/controllers/list_controller_spec.rb b/spec/controllers/list_controller_spec.rb index 3de5a762b21..412833aa174 100644 --- a/spec/controllers/list_controller_spec.rb +++ b/spec/controllers/list_controller_spec.rb @@ -28,11 +28,6 @@ describe ListController do parsed = JSON.parse(response.body) expect(parsed["topic_list"]["topics"].length).to eq(1) end - - it "doesn't throw an error with a negative page" do - get :top, params: { page: -1024 } - expect(response).to be_success - end end describe 'RSS feeds' do