Skip to content
Snippets Groups Projects
Commit be870760 authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Add a spec for ProjectsFinder project_ids_relation option

Follow-up 1003454c
parent e93de606
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -46,5 +46,13 @@ describe ProjectsFinder do
end
end
end
describe 'with project_ids_relation' do
let(:project_ids_relation) { Project.where(id: internal_project.id) }
subject { finder.execute(user, project_ids_relation) }
it { is_expected.to eq([internal_project]) }
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment