Remove invalid test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
768d21654a
commit
a9d7efa12f
|
@ -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
|
|
Loading…
Reference in New Issue