|
|
|
@ -1440,129 +1440,6 @@ RSpec/NoExpectationExample:
|
|
|
|
|
- 'spec/controllers/auth/registrations_controller_spec.rb'
|
|
|
|
|
- 'spec/services/precompute_feed_service_spec.rb'
|
|
|
|
|
|
|
|
|
|
# Offense count: 370
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
|
|
|
# SupportedStyles: not_to, to_not
|
|
|
|
|
RSpec/NotToNot:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'spec/config/initializers/rack_attack_spec.rb'
|
|
|
|
|
- 'spec/controllers/accounts_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/accounts_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/email_domain_blocks_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/roles_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/accounts_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/admin/account_actions_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/admin/accounts_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/admin/domain_allows_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/admin/domain_blocks_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/announcements/reactions_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/announcements_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/apps/credentials_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/apps_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/filters_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/media_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/notifications_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/polls/votes_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/reports_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/statuses/mutes_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v2/filters/keywords_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v2/filters/statuses_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v2/filters_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/auth/challenges_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/auth/confirmations_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/auth/passwords_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/auth/registrations_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/concerns/challengable_concern_spec.rb'
|
|
|
|
|
- 'spec/controllers/oauth/authorized_applications_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/oauth/tokens_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/settings/applications_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/settings/two_factor_authentication/webauthn_credentials_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/statuses_controller_spec.rb'
|
|
|
|
|
- 'spec/helpers/application_helper_spec.rb'
|
|
|
|
|
- 'spec/lib/activitypub/activity/announce_spec.rb'
|
|
|
|
|
- 'spec/lib/activitypub/activity/create_spec.rb'
|
|
|
|
|
- 'spec/lib/activitypub/activity/delete_spec.rb'
|
|
|
|
|
- 'spec/lib/activitypub/activity/flag_spec.rb'
|
|
|
|
|
- 'spec/lib/activitypub/dereferencer_spec.rb'
|
|
|
|
|
- 'spec/lib/activitypub/tag_manager_spec.rb'
|
|
|
|
|
- 'spec/lib/delivery_failure_tracker_spec.rb'
|
|
|
|
|
- 'spec/lib/feed_manager_spec.rb'
|
|
|
|
|
- 'spec/lib/html_aware_formatter_spec.rb'
|
|
|
|
|
- 'spec/lib/request_pool_spec.rb'
|
|
|
|
|
- 'spec/lib/status_reach_finder_spec.rb'
|
|
|
|
|
- 'spec/lib/vacuum/access_tokens_vacuum_spec.rb'
|
|
|
|
|
- 'spec/lib/vacuum/backups_vacuum_spec.rb'
|
|
|
|
|
- 'spec/lib/vacuum/media_attachments_vacuum_spec.rb'
|
|
|
|
|
- 'spec/lib/vacuum/preview_cards_vacuum_spec.rb'
|
|
|
|
|
- 'spec/lib/vacuum/statuses_vacuum_spec.rb'
|
|
|
|
|
- 'spec/lib/vacuum/system_keys_vacuum_spec.rb'
|
|
|
|
|
- 'spec/models/account/field_spec.rb'
|
|
|
|
|
- 'spec/models/account_conversation_spec.rb'
|
|
|
|
|
- 'spec/models/account_spec.rb'
|
|
|
|
|
- 'spec/models/account_statuses_cleanup_policy_spec.rb'
|
|
|
|
|
- 'spec/models/account_statuses_filter_spec.rb'
|
|
|
|
|
- 'spec/models/concerns/remotable_spec.rb'
|
|
|
|
|
- 'spec/models/concerns/status_threading_concern_spec.rb'
|
|
|
|
|
- 'spec/models/follow_spec.rb'
|
|
|
|
|
- 'spec/models/media_attachment_spec.rb'
|
|
|
|
|
- 'spec/models/status_spec.rb'
|
|
|
|
|
- 'spec/models/tag_feed_spec.rb'
|
|
|
|
|
- 'spec/models/trends/statuses_spec.rb'
|
|
|
|
|
- 'spec/models/trends/tags_spec.rb'
|
|
|
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
|
- 'spec/models/webhook_spec.rb'
|
|
|
|
|
- 'spec/policies/account_moderation_note_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/account_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/backup_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/custom_emoji_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/domain_block_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/email_domain_block_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/instance_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/invite_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/relay_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/report_note_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/report_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/settings_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/status_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/tag_policy_spec.rb'
|
|
|
|
|
- 'spec/policies/user_policy_spec.rb'
|
|
|
|
|
- 'spec/presenters/familiar_followers_presenter_spec.rb'
|
|
|
|
|
- 'spec/serializers/activitypub/note_spec.rb'
|
|
|
|
|
- 'spec/services/account_statuses_cleanup_service_spec.rb'
|
|
|
|
|
- 'spec/services/activitypub/fetch_remote_status_service_spec.rb'
|
|
|
|
|
- 'spec/services/activitypub/process_account_service_spec.rb'
|
|
|
|
|
- 'spec/services/activitypub/process_status_update_service_spec.rb'
|
|
|
|
|
- 'spec/services/app_sign_up_service_spec.rb'
|
|
|
|
|
- 'spec/services/batched_remove_status_service_spec.rb'
|
|
|
|
|
- 'spec/services/block_domain_service_spec.rb'
|
|
|
|
|
- 'spec/services/bootstrap_timeline_service_spec.rb'
|
|
|
|
|
- 'spec/services/fan_out_on_write_service_spec.rb'
|
|
|
|
|
- 'spec/services/favourite_service_spec.rb'
|
|
|
|
|
- 'spec/services/fetch_link_card_service_spec.rb'
|
|
|
|
|
- 'spec/services/fetch_oembed_service_spec.rb'
|
|
|
|
|
- 'spec/services/fetch_remote_status_service_spec.rb'
|
|
|
|
|
- 'spec/services/follow_service_spec.rb'
|
|
|
|
|
- 'spec/services/mute_service_spec.rb'
|
|
|
|
|
- 'spec/services/notify_service_spec.rb'
|
|
|
|
|
- 'spec/services/remove_status_service_spec.rb'
|
|
|
|
|
- 'spec/services/report_service_spec.rb'
|
|
|
|
|
- 'spec/services/resolve_account_service_spec.rb'
|
|
|
|
|
- 'spec/services/search_service_spec.rb'
|
|
|
|
|
- 'spec/services/suspend_account_service_spec.rb'
|
|
|
|
|
- 'spec/services/unallow_domain_service_spec.rb'
|
|
|
|
|
- 'spec/services/unsuspend_account_service_spec.rb'
|
|
|
|
|
- 'spec/services/update_status_service_spec.rb'
|
|
|
|
|
- 'spec/support/examples/models/concerns/account_avatar.rb'
|
|
|
|
|
- 'spec/support/examples/models/concerns/account_header.rb'
|
|
|
|
|
- 'spec/validators/email_mx_validator_spec.rb'
|
|
|
|
|
- 'spec/validators/note_length_validator_spec.rb'
|
|
|
|
|
- 'spec/validators/reaction_validator_spec.rb'
|
|
|
|
|
- 'spec/validators/status_length_validator_spec.rb'
|
|
|
|
|
- 'spec/validators/unique_username_validator_spec.rb'
|
|
|
|
|
- 'spec/workers/activitypub/fetch_replies_worker_spec.rb'
|
|
|
|
|
- 'spec/workers/scheduler/accounts_statuses_cleanup_scheduler_spec.rb'
|
|
|
|
|
|
|
|
|
|
# Offense count: 3
|
|
|
|
|
RSpec/PendingWithoutReason:
|
|
|
|
|
Exclude:
|
|
|
|
|