Commit ea009fc4 authored by lauraMon's avatar lauraMon

Adds emoji and message field to UserStatusType

parent 158a8c80
......@@ -7,5 +7,9 @@ module Types
field :message_html, GraphQL::STRING_TYPE, null: true,
description: 'HTML of the user status message'
field :message, GraphQL::STRING_TYPE, null: true,
description: 'User status message'
field :emoji, GraphQL::STRING_TYPE, null: true,
description: 'String representation of emoji'
end
end
......@@ -7,6 +7,8 @@ RSpec.describe Types::UserStatusType do
it 'exposes the expected fields' do
expected_fields = %i[
emoji
message
message_html
]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment