Commit a9d7efa12fc013fba03bafd68307b49dafa33c34

Authored by Dmitriy Zaporozhets
1 parent 768d2165

Remove invalid test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 0 additions and 18 deletions   Show diff stats
spec/controllers/search_controller_spec.rb
... ... @@ -1,18 +0,0 @@
1   -require 'spec_helper'
2   -
3   -describe SearchController do
4   - let(:project) { create(:project, public: true) }
5   - let(:user) { create(:user) }
6   -
7   - before do
8   - sign_in(user)
9   - end
10   -
11   - describe '#find_project_ids' do
12   - it 'should include public projects ids when searching within a single project' do
13   - project_ids = controller.send(:find_project_ids,nil, project.id)
14   - project_ids.size.should == 1
15   - project_ids[0].should == project.id
16   - end
17   - end
18   -end