Skip to content

Commit

Permalink
DEV: Fix test for new user card
Browse files Browse the repository at this point in the history
  • Loading branch information
jancernik committed Sep 12, 2024
1 parent ef8e84e commit 3c49f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/votes_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
expect(response.status).to eq(200)
json = JSON.parse(response.body)
expect(json.length).to eq(1)
expect(json.first.keys.sort).to eq(%w[avatar_template id name username])
expect(json.first.keys.sort).to eq(%w[avatar_dominant_color avatar_template id name username])
expect(json.first["id"]).to eq(user.id)

post "/voting/unvote.json", params: { topic_id: topic.id }
Expand Down

0 comments on commit 3c49f47

Please sign in to comment.