summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-09 15:13:56 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-09 15:16:10 +0200
commita9d7efa12fc013fba03bafd68307b49dafa33c34 (patch)
tree423fc9707d07cd8232a61c11309fb7c2a633ba16 /spec
parent768d21654a135130a28278c46cf413dbe65f8c81 (diff)
downloadgitlab-ce-a9d7efa12fc013fba03bafd68307b49dafa33c34.tar.gz
Remove invalid test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/search_controller_spec.rb18
1 files changed, 0 insertions, 18 deletions
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