DEV: Fix typo in specs.

This commit is contained in:
Guo Xiang Tan 2018-11-19 15:13:54 +08:00 committed by GitHub
parent 2ac952d7dd
commit cf21c7f5aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ RSpec.describe TopicListSerializer do
).as_json
expect(serialized[:users].first[:id]).to eq(topic.user_id)
expect(serialized[:primar_groups]).to eq([])
expect(serialized[:primary_groups]).to eq([])
expect(serialized[:topic_list][:topics].first[:id]).to eq(topic.id)
end
end