mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 03:21:02 +08:00
1d1a7db182
``` 1) CurrentUserSerializer#sidebar_category_ids includes visible default sidebar categories Failure/Error: expect(json[:sidebar_category_ids]).to eq([category.id, category_2.id]) expected: [378, 379] got: [379, 378] ``` Note that in the Ruby doc it says "The order is preserved from the original array". In this case, we want to preserve the order of the site setting. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |