diff options
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/projects_finder_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/finders/projects_finder_spec.rb b/spec/finders/projects_finder_spec.rb index e570b49e1da..f991ecd369c 100644 --- a/spec/finders/projects_finder_spec.rb +++ b/spec/finders/projects_finder_spec.rb @@ -482,11 +482,11 @@ RSpec.describe ProjectsFinder, feature_category: :groups_and_projects do it { is_expected.to match_array([internal_project]) } end - describe 'filter by organization_id' do + describe 'filter by organization' do let_it_be(:organization) { create(:organization) } let_it_be(:organization_project) { create(:project, organization: organization) } - let(:params) { { organization_id: organization.id } } + let(:params) { { organization: organization } } before do organization_project.add_maintainer(current_user) |