discourse/plugins/discourse-solved/spec
Régis Hanol aa94311d97
DEV: refactor user card/summary accepted answer's query (#35500)
In
be5798f6d8
we standardized the way we counted a user's accepted answers.

This makes it a little bit more obvious by refactoring the query into it
own files (queries.rb) and using that in both the user card and user
summary serializers.

Also improved the specs coverage.

Internal ref - t/149121
2025-10-31 08:49:36 +01:00
..
components DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
fabricators
integration DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
lib DEV: refactor user card/summary accepted answer's query (#35500) 2025-10-31 08:49:36 +01:00
models DEV: refactor user card/summary accepted answer's query (#35500) 2025-10-31 08:49:36 +01:00
requests DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
serializers DEV: refactor user card/summary accepted answer's query (#35500) 2025-10-31 08:49:36 +01:00
system DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00