mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 15:49:55 +08:00
5683c90917
Our code assumed the content_range interval was inclusive, but they are open-ended due to Postgres' [discrete range types](https://www.postgresql.org/docs/current/rangetypes.html#RANGETYPES-DISCRETE), meaning [1,2] will be represented as [1,3). It also fixes some flaky tests due to test data not being correctly setup and the registry not being resetted after each test. |
||
---|---|---|
.. | ||
admin | ||
chat | ||
core_ext | ||
chat_controller_spec.rb | ||
direct_messages_controller_spec.rb | ||
emojis_controller_spec.rb |