From 2a543b71a4d030d3a37eee9c9d02b641e0c396d5 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:33:12 +0100 Subject: [PATCH] Remove test not meant for data coordinators --- spec/models/user_spec.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 886c31e6e..7d6cb37fc 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -177,10 +177,6 @@ RSpec.describe User, type: :model do expect(user.logs_filters).to match_array(%w[years status needstypes assigned_to user managing_organisation owning_organisation bulk_upload_id managing_organisation_text_search owning_organisation_text_search user_text_search]) end - it "can filter bulk uploads by year, uploaded_by and uploading_organisation " do - expect(user.bulk_uploads_filters).to match_array(%w[years uploaded_by uploading_organisation]) - end - it "can filter schemes by status and owning_organisation" do expect(user.scheme_filters).to match_array(%w[status owning_organisation owning_organisation_text_search]) end