UX: Show chat and message buttons on your own profile (#27600)

This commit is contained in:
Jan Cernik
2024-06-25 07:52:17 -03:00
committed by GitHub
parent c8e65fa673
commit a07ddf4ec0
4 changed files with 34 additions and 6 deletions

View File

@ -65,6 +65,10 @@ RSpec.describe UserCardSerializer do
it "serializes pending_posts_count" do
expect(json[:pending_posts_count]).to eq 0
end
it "can_send_private_message_to_user is true" do
expect(json[:can_send_private_message_to_user]).to eq true
end
end
end