This commit is contained in:
KMY 2024-09-09 09:59:59 +09:00
parent 941e0f06ec
commit 5b1954f100
8 changed files with 21 additions and 21 deletions

View file

@ -29,7 +29,7 @@ RSpec.describe 'EmojiReactions' do
it 'returns json with updated attributes' do
subject
expect(body_as_json).to match(
expect(response.parsed_body).to match(
a_hash_including(id: status.id.to_s, emoji_reactions_count: 1)
)
end
@ -133,7 +133,7 @@ RSpec.describe 'EmojiReactions' do
it 'returns json with updated attributes' do
subject
expect(body_as_json).to match(
expect(response.parsed_body).to match(
a_hash_including(id: status.id.to_s, emoji_reactions_count: 0)
)
end
@ -155,7 +155,7 @@ RSpec.describe 'EmojiReactions' do
it 'returns json with updated attributes' do
subject
expect(body_as_json).to match(
expect(response.parsed_body).to match(
a_hash_including(id: status.id.to_s, emoji_reactions_count: 0)
)
end