|
|
|
|
@ -163,7 +163,7 @@ RSpec.describe User, type: :model do
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "can filter lettings logs by user, year and status" do |
|
|
|
|
expect(user.logs_filters).to match_array(%w[status needstypes years assigned_to user bulk_upload_id]) |
|
|
|
|
expect(user.logs_filters).to match_array(%w[years status needstypes assigned_to user bulk_upload_id]) |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
@ -173,7 +173,7 @@ RSpec.describe User, type: :model do
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "can filter lettings logs by user, year, status, managing_organisation and owning_organisation" do |
|
|
|
|
expect(user.logs_filters).to match_array(%w[status needstypes years assigned_to user managing_organisation owning_organisation bulk_upload_id]) |
|
|
|
|
expect(user.logs_filters).to match_array(%w[years status needstypes assigned_to user managing_organisation owning_organisation bulk_upload_id]) |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
@ -214,7 +214,7 @@ RSpec.describe User, type: :model do
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "can filter lettings logs by user, year, status, managing_organisation and owning_organisation" do |
|
|
|
|
expect(user.logs_filters).to match_array(%w[status needstypes years assigned_to user owning_organisation managing_organisation bulk_upload_id]) |
|
|
|
|
expect(user.logs_filters).to match_array(%w[years status needstypes assigned_to user owning_organisation managing_organisation bulk_upload_id]) |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|