mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-07-13 21:08:19 +08:00
- Linear::CallbacksController: Replace broken
`described_class.new`mocking with proper `GlobalConfigService` stubbing
and real JWT token generation. The old pattern doesn't work in request
specs since Rails instantiates controllers internally.
- User associations: Remove `.class_name('Conversation')` assertion that
fails intermittently due to enterprise `prepend_mod_with` timing in
parallel tests. The class_name is already enforced by Rails at runtime -
if wrong, the app would crash immediately. No need to explicitly test
for this
Fixes
https://linear.app/chatwoot/issue/CW-6138/debug-linear-and-user-spec-failures-in-ci
|
||
|---|---|---|
| .. | ||
| api | ||
| concerns | ||
| devise | ||
| devise_overrides | ||
| installation | ||
| linear | ||
| microsoft | ||
| notion | ||
| platform/api/v1 | ||
| public/api/v1 | ||
| service | ||
| shopify | ||
| super_admin | ||
| twilio | ||
| webhooks | ||
| .keep | ||
| android_assetlinks_spec.rb | ||
| api_controller_spec.rb | ||
| apple_app_spec.rb | ||
| dashboard_controller_spec.rb | ||
| microsoft_controller_spec.rb | ||
| slack_uploads_controller_spec.rb | ||
| swagger_controller_spec.rb | ||
| widget_tests_controller_spec.rb | ||
| widgets_controller_spec.rb | ||