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

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