|
|
|
@ -648,181 +648,6 @@ RSpec/PredicateMatcher:
|
|
|
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
|
- 'spec/services/post_status_service_spec.rb'
|
|
|
|
|
|
|
|
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
|
|
|
# Configuration parameters: Inferences.
|
|
|
|
|
RSpec/Rails/InferredSpecType:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'spec/controllers/about_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/accounts_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/activitypub/collections_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/activitypub/followers_synchronizations_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/activitypub/inboxes_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/activitypub/outboxes_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/activitypub/replies_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/account_moderation_notes_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/accounts_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/action_logs_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/base_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/change_emails_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/confirmations_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/dashboard_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/disputes/appeals_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/domain_allows_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/domain_blocks_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/email_domain_blocks_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/export_domain_allows_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/export_domain_blocks_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/instances_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/settings/branding_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/admin/tags_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/oembed_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/accounts/pins_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/accounts/search_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/admin/reports_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_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/blocks_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/bookmarks_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/conversations_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/custom_emojis_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/domain_blocks_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/emails/confirmations_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/endorsements_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/favourites_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/filters_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/follow_requests_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/followed_tags_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/instances/activity_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/instances/peers_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/instances_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/lists_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/markers_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/media_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/mutes_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/notifications_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/polls/votes_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/polls_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/reports_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/statuses/favourited_by_accounts_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/statuses/reblogged_by_accounts_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/statuses_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/suggestions_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/tags_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v1/trends/tags_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/api/v2/admin/accounts_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/api/v2/search_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/application_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/auth/sessions_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/concerns/account_controller_concern_spec.rb'
|
|
|
|
|
- 'spec/controllers/concerns/cache_concern_spec.rb'
|
|
|
|
|
- 'spec/controllers/concerns/challengable_concern_spec.rb'
|
|
|
|
|
- 'spec/controllers/concerns/export_controller_concern_spec.rb'
|
|
|
|
|
- 'spec/controllers/concerns/localized_spec.rb'
|
|
|
|
|
- 'spec/controllers/concerns/signature_verification_spec.rb'
|
|
|
|
|
- 'spec/controllers/concerns/user_tracking_concern_spec.rb'
|
|
|
|
|
- 'spec/controllers/disputes/appeals_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/disputes/strikes_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/home_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/instance_actors_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/intents_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/oauth/authorizations_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/oauth/tokens_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/settings/imports_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/settings/profiles_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/statuses_cleanup_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/tags_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/well_known/host_meta_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/well_known/nodeinfo_controller_spec.rb'
|
|
|
|
|
- 'spec/controllers/well_known/webfinger_controller_spec.rb'
|
|
|
|
|
- 'spec/helpers/accounts_helper_spec.rb'
|
|
|
|
|
- 'spec/helpers/admin/account_moderation_notes_helper_spec.rb'
|
|
|
|
|
- 'spec/helpers/admin/action_logs_helper_spec.rb'
|
|
|
|
|
- 'spec/helpers/flashes_helper_spec.rb'
|
|
|
|
|
- 'spec/helpers/formatting_helper_spec.rb'
|
|
|
|
|
- 'spec/helpers/home_helper_spec.rb'
|
|
|
|
|
- 'spec/helpers/routing_helper_spec.rb'
|
|
|
|
|
- 'spec/mailers/admin_mailer_spec.rb'
|
|
|
|
|
- 'spec/mailers/notification_mailer_spec.rb'
|
|
|
|
|
- 'spec/mailers/user_mailer_spec.rb'
|
|
|
|
|
- 'spec/models/account/field_spec.rb'
|
|
|
|
|
- 'spec/models/account_alias_spec.rb'
|
|
|
|
|
- 'spec/models/account_conversation_spec.rb'
|
|
|
|
|
- 'spec/models/account_deletion_request_spec.rb'
|
|
|
|
|
- 'spec/models/account_domain_block_spec.rb'
|
|
|
|
|
- 'spec/models/account_migration_spec.rb'
|
|
|
|
|
- 'spec/models/account_moderation_note_spec.rb'
|
|
|
|
|
- 'spec/models/account_spec.rb'
|
|
|
|
|
- 'spec/models/account_statuses_cleanup_policy_spec.rb'
|
|
|
|
|
- 'spec/models/admin/account_action_spec.rb'
|
|
|
|
|
- 'spec/models/admin/action_log_spec.rb'
|
|
|
|
|
- 'spec/models/announcement_mute_spec.rb'
|
|
|
|
|
- 'spec/models/announcement_reaction_spec.rb'
|
|
|
|
|
- 'spec/models/announcement_spec.rb'
|
|
|
|
|
- 'spec/models/backup_spec.rb'
|
|
|
|
|
- 'spec/models/block_spec.rb'
|
|
|
|
|
- 'spec/models/canonical_email_block_spec.rb'
|
|
|
|
|
- 'spec/models/conversation_mute_spec.rb'
|
|
|
|
|
- 'spec/models/conversation_spec.rb'
|
|
|
|
|
- 'spec/models/custom_emoji_spec.rb'
|
|
|
|
|
- 'spec/models/custom_filter_keyword_spec.rb'
|
|
|
|
|
- 'spec/models/custom_filter_spec.rb'
|
|
|
|
|
- 'spec/models/device_spec.rb'
|
|
|
|
|
- 'spec/models/domain_block_spec.rb'
|
|
|
|
|
- 'spec/models/email_domain_block_spec.rb'
|
|
|
|
|
- 'spec/models/encrypted_message_spec.rb'
|
|
|
|
|
- 'spec/models/favourite_spec.rb'
|
|
|
|
|
- 'spec/models/featured_tag_spec.rb'
|
|
|
|
|
- 'spec/models/follow_recommendation_suppression_spec.rb'
|
|
|
|
|
- 'spec/models/follow_request_spec.rb'
|
|
|
|
|
- 'spec/models/follow_spec.rb'
|
|
|
|
|
- 'spec/models/home_feed_spec.rb'
|
|
|
|
|
- 'spec/models/identity_spec.rb'
|
|
|
|
|
- 'spec/models/import_spec.rb'
|
|
|
|
|
- 'spec/models/invite_spec.rb'
|
|
|
|
|
- 'spec/models/list_account_spec.rb'
|
|
|
|
|
- 'spec/models/list_spec.rb'
|
|
|
|
|
- 'spec/models/login_activity_spec.rb'
|
|
|
|
|
- 'spec/models/media_attachment_spec.rb'
|
|
|
|
|
- 'spec/models/mention_spec.rb'
|
|
|
|
|
- 'spec/models/mute_spec.rb'
|
|
|
|
|
- 'spec/models/notification_spec.rb'
|
|
|
|
|
- 'spec/models/poll_vote_spec.rb'
|
|
|
|
|
- 'spec/models/preview_card_spec.rb'
|
|
|
|
|
- 'spec/models/preview_card_trend_spec.rb'
|
|
|
|
|
- 'spec/models/public_feed_spec.rb'
|
|
|
|
|
- 'spec/models/relay_spec.rb'
|
|
|
|
|
- 'spec/models/scheduled_status_spec.rb'
|
|
|
|
|
- 'spec/models/session_activation_spec.rb'
|
|
|
|
|
- 'spec/models/setting_spec.rb'
|
|
|
|
|
- 'spec/models/site_upload_spec.rb'
|
|
|
|
|
- 'spec/models/status_pin_spec.rb'
|
|
|
|
|
- 'spec/models/status_spec.rb'
|
|
|
|
|
- 'spec/models/status_stat_spec.rb'
|
|
|
|
|
- 'spec/models/status_trend_spec.rb'
|
|
|
|
|
- 'spec/models/system_key_spec.rb'
|
|
|
|
|
- 'spec/models/tag_follow_spec.rb'
|
|
|
|
|
- 'spec/models/unavailable_domain_spec.rb'
|
|
|
|
|
- 'spec/models/user_invite_request_spec.rb'
|
|
|
|
|
- 'spec/models/user_role_spec.rb'
|
|
|
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
|
- 'spec/models/web/push_subscription_spec.rb'
|
|
|
|
|
- 'spec/models/web/setting_spec.rb'
|
|
|
|
|
- 'spec/models/webauthn_credentials_spec.rb'
|
|
|
|
|
- 'spec/models/webhook_spec.rb'
|
|
|
|
|
|
|
|
|
|
RSpec/RepeatedExample:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'spec/policies/status_policy_spec.rb'
|
|
|
|
|