From a9d7efa12fc013fba03bafd68307b49dafa33c34 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Date: Thu, 9 Jan 2014 15:13:56 +0200 Subject: [PATCH] Remove invalid test Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> --- spec/controllers/search_controller_spec.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 spec/controllers/search_controller_spec.rb diff --git a/spec/controllers/search_controller_spec.rb b/spec/controllers/search_controller_spec.rb deleted file mode 100644 index 8742789a3b1..00000000000 --- a/spec/controllers/search_controller_spec.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'spec_helper' - -describe SearchController do - let(:project) { create(:project, public: true) } - let(:user) { create(:user) } - - before do - sign_in(user) - end - - describe '#find_project_ids' do - it 'should include public projects ids when searching within a single project' do - project_ids = controller.send(:find_project_ids,nil, project.id) - project_ids.size.should == 1 - project_ids[0].should == project.id - end - end -end -- 2.30.9