Browse Source

Remove test not meant for data coordinators

pull/2666/head
Manny Dinssa 2 years ago
parent
commit
2a543b71a4
  1. 4
      spec/models/user_spec.rb

4
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]) 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 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 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]) expect(user.scheme_filters).to match_array(%w[status owning_organisation owning_organisation_text_search])
end end

Loading…
Cancel
Save