~cytrogen/masto-fe

84cc805caea566d4fb0fafce411cd07f83cfd0e2 — Nick Schonning 3 years ago 0cfdd1a
Enable Style/FrozenStringLiteralComment for specs (#23790)

369 files changed, 738 insertions(+), 0 deletions(-)

M spec/config/initializers/rack_attack_spec.rb
M spec/controllers/about_controller_spec.rb
M spec/controllers/accounts_controller_spec.rb
M spec/controllers/activitypub/followers_synchronizations_controller_spec.rb
M spec/controllers/activitypub/outboxes_controller_spec.rb
M spec/controllers/admin/account_moderation_notes_controller_spec.rb
M spec/controllers/admin/accounts_controller_spec.rb
M spec/controllers/admin/change_email_controller_spec.rb
M spec/controllers/admin/confirmations_controller_spec.rb
M spec/controllers/admin/custom_emojis_controller_spec.rb
M spec/controllers/admin/disputes/appeals_controller_spec.rb
M spec/controllers/admin/domain_allows_controller_spec.rb
M spec/controllers/admin/domain_blocks_controller_spec.rb
M spec/controllers/admin/export_domain_allows_controller_spec.rb
M spec/controllers/admin/export_domain_blocks_controller_spec.rb
M spec/controllers/admin/instances_controller_spec.rb
M spec/controllers/admin/report_notes_controller_spec.rb
M spec/controllers/admin/reports/actions_controller_spec.rb
M spec/controllers/admin/reports_controller_spec.rb
M spec/controllers/admin/resets_controller_spec.rb
M spec/controllers/admin/roles_controller_spec.rb
M spec/controllers/admin/statuses_controller_spec.rb
M spec/controllers/admin/users/roles_controller.rb
M spec/controllers/admin/users/two_factor_authentications_controller_spec.rb
M spec/controllers/api/oembed_controller_spec.rb
M spec/controllers/api/v1/accounts/credentials_controller_spec.rb
M spec/controllers/api/v1/accounts/follower_accounts_controller_spec.rb
M spec/controllers/api/v1/accounts/following_accounts_controller_spec.rb
M spec/controllers/api/v1/accounts/lists_controller_spec.rb
M spec/controllers/api/v1/accounts/notes_controller_spec.rb
M spec/controllers/api/v1/accounts/relationships_controller_spec.rb
M spec/controllers/api/v1/accounts/search_controller_spec.rb
M spec/controllers/api/v1/accounts_controller_spec.rb
M spec/controllers/api/v1/admin/account_actions_controller_spec.rb
M spec/controllers/api/v1/admin/accounts_controller_spec.rb
M spec/controllers/api/v1/admin/domain_allows_controller_spec.rb
M spec/controllers/api/v1/admin/domain_blocks_controller_spec.rb
M spec/controllers/api/v1/admin/reports_controller_spec.rb
M spec/controllers/api/v1/apps/credentials_controller_spec.rb
M spec/controllers/api/v1/apps_controller_spec.rb
M spec/controllers/api/v1/blocks_controller_spec.rb
M spec/controllers/api/v1/bookmarks_controller_spec.rb
M spec/controllers/api/v1/conversations_controller_spec.rb
M spec/controllers/api/v1/domain_blocks_controller_spec.rb
M spec/controllers/api/v1/emails/confirmations_controller_spec.rb
M spec/controllers/api/v1/favourites_controller_spec.rb
M spec/controllers/api/v1/filters_controller_spec.rb
M spec/controllers/api/v1/follow_requests_controller_spec.rb
M spec/controllers/api/v1/followed_tags_controller_spec.rb
M spec/controllers/api/v1/lists/accounts_controller_spec.rb
M spec/controllers/api/v1/lists_controller_spec.rb
M spec/controllers/api/v1/markers_controller_spec.rb
M spec/controllers/api/v1/media_controller_spec.rb
M spec/controllers/api/v1/mutes_controller_spec.rb
M spec/controllers/api/v1/notifications_controller_spec.rb
M spec/controllers/api/v1/polls/votes_controller_spec.rb
M spec/controllers/api/v1/polls_controller_spec.rb
M spec/controllers/api/v1/statuses/favourited_by_accounts_controller_spec.rb
M spec/controllers/api/v1/statuses/reblogged_by_accounts_controller_spec.rb
M spec/controllers/api/v1/statuses_controller_spec.rb
M spec/controllers/api/v1/suggestions_controller_spec.rb
M spec/controllers/api/v1/tags_controller_spec.rb
M spec/controllers/api/v2/admin/accounts_controller_spec.rb
M spec/controllers/api/v2/filters/keywords_controller_spec.rb
M spec/controllers/api/v2/filters/statuses_controller_spec.rb
M spec/controllers/api/v2/filters_controller_spec.rb
M spec/controllers/auth/registrations_controller_spec.rb
M spec/controllers/disputes/appeals_controller_spec.rb
M spec/controllers/disputes/strikes_controller_spec.rb
M spec/controllers/emojis_controller_spec.rb
M spec/controllers/follower_accounts_controller_spec.rb
M spec/controllers/following_accounts_controller_spec.rb
M spec/controllers/home_controller_spec.rb
M spec/controllers/instance_actors_controller_spec.rb
M spec/controllers/intents_controller_spec.rb
M spec/controllers/invites_controller_spec.rb
M spec/controllers/manifests_controller_spec.rb
M spec/controllers/relationships_controller_spec.rb
M spec/controllers/settings/applications_controller_spec.rb
M spec/controllers/settings/deletes_controller_spec.rb
M spec/controllers/settings/exports/blocked_accounts_controller_spec.rb
M spec/controllers/settings/exports/bookmarks_controller_spec.rb
M spec/controllers/settings/exports/following_accounts_controller_spec.rb
M spec/controllers/settings/exports/muted_accounts_controller_spec.rb
M spec/controllers/settings/featured_tags_controller_spec.rb
M spec/controllers/settings/imports_controller_spec.rb
M spec/controllers/settings/migrations_controller_spec.rb
M spec/controllers/settings/preferences/notifications_controller_spec.rb
M spec/controllers/settings/preferences/other_controller_spec.rb
M spec/controllers/settings/profiles_controller_spec.rb
M spec/controllers/settings/sessions_controller_spec.rb
M spec/controllers/shares_controller_spec.rb
M spec/controllers/statuses_cleanup_controller_spec.rb
M spec/controllers/tags_controller_spec.rb
M spec/controllers/well_known/host_meta_controller_spec.rb
M spec/controllers/well_known/nodeinfo_controller_spec.rb
M spec/controllers/well_known/webfinger_controller_spec.rb
M spec/fabricators/access_grant_fabricator.rb
M spec/fabricators/access_token_fabricator.rb
M spec/fabricators/accessible_access_token_fabricator.rb
M spec/fabricators/account_alias_fabricator.rb
M spec/fabricators/account_deletion_request_fabricator.rb
M spec/fabricators/account_domain_block_fabricator.rb
M spec/fabricators/account_fabricator.rb
M spec/fabricators/account_migration_fabricator.rb
M spec/fabricators/account_moderation_note_fabricator.rb
M spec/fabricators/account_note_fabricator.rb
M spec/fabricators/account_pin_fabricator.rb
M spec/fabricators/account_stat_fabricator.rb
M spec/fabricators/account_statuses_cleanup_policy_fabricator.rb
M spec/fabricators/account_tag_stat_fabricator.rb
M spec/fabricators/account_warning_fabricator.rb
M spec/fabricators/account_warning_preset_fabricator.rb
M spec/fabricators/admin_action_log_fabricator.rb
M spec/fabricators/announcement_fabricator.rb
M spec/fabricators/announcement_mute_fabricator.rb
M spec/fabricators/announcement_reaction_fabricator.rb
M spec/fabricators/appeal_fabricator.rb
M spec/fabricators/application_fabricator.rb
M spec/fabricators/backup_fabricator.rb
M spec/fabricators/block_fabricator.rb
M spec/fabricators/bookmark_fabricator.rb
M spec/fabricators/canonical_email_block_fabricator.rb
M spec/fabricators/conversation_account_fabricator.rb
M spec/fabricators/conversation_fabricator.rb
M spec/fabricators/conversation_mute_fabricator.rb
M spec/fabricators/custom_emoji_category_fabricator.rb
M spec/fabricators/custom_emoji_fabricator.rb
M spec/fabricators/custom_filter_fabricator.rb
M spec/fabricators/custom_filter_keyword_fabricator.rb
M spec/fabricators/custom_filter_status_fabricator.rb
M spec/fabricators/device_fabricator.rb
M spec/fabricators/domain_allow_fabricator.rb
M spec/fabricators/domain_block_fabricator.rb
M spec/fabricators/email_domain_block_fabricator.rb
M spec/fabricators/encrypted_message_fabricator.rb
M spec/fabricators/favourite_fabricator.rb
M spec/fabricators/featured_tag_fabricator.rb
M spec/fabricators/follow_fabricator.rb
M spec/fabricators/follow_recommendation_suppression_fabricator.rb
M spec/fabricators/follow_request_fabricator.rb
M spec/fabricators/identity_fabricator.rb
M spec/fabricators/import_fabricator.rb
M spec/fabricators/invite_fabricator.rb
M spec/fabricators/ip_block_fabricator.rb
M spec/fabricators/list_account_fabricator.rb
M spec/fabricators/list_fabricator.rb
M spec/fabricators/login_activity_fabricator.rb
M spec/fabricators/marker_fabricator.rb
M spec/fabricators/media_attachment_fabricator.rb
M spec/fabricators/mention_fabricator.rb
M spec/fabricators/mute_fabricator.rb
M spec/fabricators/notification_fabricator.rb
M spec/fabricators/one_time_key_fabricator.rb
M spec/fabricators/poll_fabricator.rb
M spec/fabricators/poll_vote_fabricator.rb
M spec/fabricators/preview_card_fabricator.rb
M spec/fabricators/relay_fabricator.rb
M spec/fabricators/report_fabricator.rb
M spec/fabricators/report_note_fabricator.rb
M spec/fabricators/rule_fabricator.rb
M spec/fabricators/scheduled_status_fabricator.rb
M spec/fabricators/session_activation_fabricator.rb
M spec/fabricators/site_upload_fabricator.rb
M spec/fabricators/status_edit_fabricator.rb
M spec/fabricators/status_fabricator.rb
M spec/fabricators/status_pin_fabricator.rb
M spec/fabricators/status_stat_fabricator.rb
M spec/fabricators/system_key_fabricator.rb
M spec/fabricators/tag_fabricator.rb
M spec/fabricators/tag_follow_fabricator.rb
M spec/fabricators/unavailable_domain_fabricator.rb
M spec/fabricators/user_fabricator.rb
M spec/fabricators/user_invite_request_fabricator.rb
M spec/fabricators/user_role_fabricator.rb
M spec/fabricators/web_push_subscription_fabricator.rb
M spec/fabricators/web_setting_fabricator.rb
M spec/fabricators/webauthn_credential_fabricator.rb
M spec/fabricators/webhook_fabricator.rb
M spec/helpers/accounts_helper_spec.rb
M spec/helpers/admin/filter_helper_spec.rb
M spec/helpers/application_helper_spec.rb
M spec/helpers/home_helper_spec.rb
M spec/helpers/statuses_helper_spec.rb
M spec/lib/activitypub/activity/accept_spec.rb
M spec/lib/activitypub/activity/add_spec.rb
M spec/lib/activitypub/activity/announce_spec.rb
M spec/lib/activitypub/activity/block_spec.rb
M spec/lib/activitypub/activity/create_spec.rb
M spec/lib/activitypub/activity/delete_spec.rb
M spec/lib/activitypub/activity/flag_spec.rb
M spec/lib/activitypub/activity/follow_spec.rb
M spec/lib/activitypub/activity/like_spec.rb
M spec/lib/activitypub/activity/move_spec.rb
M spec/lib/activitypub/activity/reject_spec.rb
M spec/lib/activitypub/activity/remove_spec.rb
M spec/lib/activitypub/activity/undo_spec.rb
M spec/lib/activitypub/activity/update_spec.rb
M spec/lib/activitypub/adapter_spec.rb
M spec/lib/activitypub/dereferencer_spec.rb
M spec/lib/activitypub/linked_data_signature_spec.rb
M spec/lib/activitypub/tag_manager_spec.rb
M spec/lib/emoji_formatter_spec.rb
M spec/lib/entity_cache_spec.rb
M spec/lib/feed_manager_spec.rb
M spec/lib/html_aware_formatter_spec.rb
M spec/lib/link_details_extractor_spec.rb
M spec/lib/plain_text_formatter_spec.rb
M spec/lib/suspicious_sign_in_detector_spec.rb
M spec/lib/tag_manager_spec.rb
M spec/lib/text_formatter_spec.rb
M spec/lib/vacuum/access_tokens_vacuum_spec.rb
M spec/lib/vacuum/backups_vacuum_spec.rb
M spec/lib/vacuum/feeds_vacuum_spec.rb
M spec/lib/vacuum/media_attachments_vacuum_spec.rb
M spec/lib/vacuum/preview_cards_vacuum_spec.rb
M spec/lib/vacuum/statuses_vacuum_spec.rb
M spec/lib/vacuum/system_keys_vacuum_spec.rb
M spec/lib/webfinger_resource_spec.rb
M spec/mailers/notification_mailer_spec.rb
M spec/mailers/previews/admin_mailer_preview.rb
M spec/mailers/previews/notification_mailer_preview.rb
M spec/mailers/previews/user_mailer_preview.rb
M spec/models/account/field_spec.rb
M spec/models/account_alias_spec.rb
M spec/models/account_conversation_spec.rb
M spec/models/account_deletion_request_spec.rb
M spec/models/account_domain_block_spec.rb
M spec/models/account_filter_spec.rb
M spec/models/account_migration_spec.rb
M spec/models/account_moderation_note_spec.rb
M spec/models/account_spec.rb
M spec/models/account_statuses_cleanup_policy_spec.rb
M spec/models/admin/account_action_spec.rb
M spec/models/announcement_mute_spec.rb
M spec/models/announcement_reaction_spec.rb
M spec/models/announcement_spec.rb
M spec/models/appeal_spec.rb
M spec/models/backup_spec.rb
M spec/models/block_spec.rb
M spec/models/canonical_email_block_spec.rb
M spec/models/concerns/account_counters_spec.rb
M spec/models/concerns/account_interactions_spec.rb
M spec/models/conversation_mute_spec.rb
M spec/models/conversation_spec.rb
M spec/models/custom_emoji_category_spec.rb
M spec/models/custom_emoji_spec.rb
M spec/models/custom_filter_keyword_spec.rb
M spec/models/custom_filter_spec.rb
M spec/models/device_spec.rb
M spec/models/domain_allow_spec.rb
M spec/models/domain_block_spec.rb
M spec/models/email_domain_block_spec.rb
M spec/models/encrypted_message_spec.rb
M spec/models/export_spec.rb
M spec/models/favourite_spec.rb
M spec/models/featured_tag_spec.rb
M spec/models/follow_recommendation_suppression_spec.rb
M spec/models/follow_request_spec.rb
M spec/models/follow_spec.rb
M spec/models/home_feed_spec.rb
M spec/models/identity_spec.rb
M spec/models/import_spec.rb
M spec/models/invite_spec.rb
M spec/models/ip_block_spec.rb
M spec/models/list_account_spec.rb
M spec/models/list_spec.rb
M spec/models/login_activity_spec.rb
M spec/models/marker_spec.rb
M spec/models/media_attachment_spec.rb
M spec/models/mention_spec.rb
M spec/models/mute_spec.rb
M spec/models/notification_spec.rb
M spec/models/one_time_key_spec.rb
M spec/models/poll_spec.rb
M spec/models/preview_card_spec.rb
M spec/models/preview_card_trend_spec.rb
M spec/models/public_feed_spec.rb
M spec/models/relay_spec.rb
M spec/models/report_filter_spec.rb
M spec/models/report_spec.rb
M spec/models/rule_spec.rb
M spec/models/scheduled_status_spec.rb
M spec/models/status_edit_spec.rb
M spec/models/status_pin_spec.rb
M spec/models/status_spec.rb
M spec/models/status_stat_spec.rb
M spec/models/status_trend_spec.rb
M spec/models/system_key_spec.rb
M spec/models/tag_feed_spec.rb
M spec/models/tag_follow_spec.rb
M spec/models/trends/statuses_spec.rb
M spec/models/trends/tags_spec.rb
M spec/models/unavailable_domain_spec.rb
M spec/models/user_invite_request_spec.rb
M spec/models/user_role_spec.rb
M spec/models/user_spec.rb
M spec/models/web/push_subscription_spec.rb
M spec/models/web/setting_spec.rb
M spec/models/webauthn_credentials_spec.rb
M spec/models/webhook_spec.rb
M spec/presenters/instance_presenter_spec.rb
M spec/rails_helper.rb
M spec/requests/catch_all_route_request_spec.rb
M spec/requests/host_meta_request_spec.rb
M spec/requests/webfinger_request_spec.rb
M spec/routing/accounts_routing_spec.rb
M spec/routing/well_known_routes_spec.rb
M spec/services/account_search_service_spec.rb
M spec/services/account_statuses_cleanup_service_spec.rb
M spec/services/activitypub/fetch_featured_collection_service_spec.rb
M spec/services/activitypub/fetch_featured_tags_collection_service_spec.rb
M spec/services/activitypub/fetch_remote_account_service_spec.rb
M spec/services/activitypub/fetch_remote_actor_service_spec.rb
M spec/services/activitypub/fetch_remote_key_service_spec.rb
M spec/services/activitypub/fetch_remote_status_service_spec.rb
M spec/services/activitypub/fetch_replies_service_spec.rb
M spec/services/activitypub/process_account_service_spec.rb
M spec/services/activitypub/process_collection_service_spec.rb
M spec/services/activitypub/process_status_update_service_spec.rb
M spec/services/activitypub/synchronize_followers_service_spec.rb
M spec/services/after_block_domain_from_account_service_spec.rb
M spec/services/after_block_service_spec.rb
M spec/services/app_sign_up_service_spec.rb
M spec/services/authorize_follow_service_spec.rb
M spec/services/batched_remove_status_service_spec.rb
M spec/services/block_domain_service_spec.rb
M spec/services/block_service_spec.rb
M spec/services/bootstrap_timeline_service_spec.rb
M spec/services/clear_domain_media_service_spec.rb
M spec/services/delete_account_service_spec.rb
M spec/services/fan_out_on_write_service_spec.rb
M spec/services/favourite_service_spec.rb
M spec/services/fetch_link_card_service_spec.rb
M spec/services/fetch_remote_status_service_spec.rb
M spec/services/fetch_resource_service_spec.rb
M spec/services/follow_service_spec.rb
M spec/services/import_service_spec.rb
M spec/services/mute_service_spec.rb
M spec/services/notify_service_spec.rb
M spec/services/post_status_service_spec.rb
M spec/services/process_mentions_service_spec.rb
M spec/services/purge_domain_service_spec.rb
M spec/services/reblog_service_spec.rb
M spec/services/reject_follow_service_spec.rb
M spec/services/remove_from_follwers_service_spec.rb
M spec/services/remove_status_service_spec.rb
M spec/services/report_service_spec.rb
M spec/services/resolve_account_service_spec.rb
M spec/services/suspend_account_service_spec.rb
M spec/services/unallow_domain_service_spec.rb
M spec/services/unblock_service_spec.rb
M spec/services/unfollow_service_spec.rb
M spec/services/unmute_service_spec.rb
M spec/services/unsuspend_account_service_spec.rb
M spec/services/update_account_service_spec.rb
M spec/services/update_status_service_spec.rb
M spec/services/verify_link_service_spec.rb
M spec/spec_helper.rb
M spec/support/matchers/json/match_json_schema.rb
M spec/support/matchers/model/model_have_error_on_field.rb
M spec/workers/activitypub/distribute_poll_update_worker_spec.rb
M spec/workers/activitypub/distribution_worker_spec.rb
M spec/workers/activitypub/move_distribution_worker_spec.rb
M spec/workers/activitypub/processing_worker_spec.rb
M spec/workers/activitypub/status_update_distribution_worker_spec.rb
M spec/workers/activitypub/update_distribution_worker_spec.rb
M spec/workers/scheduler/accounts_statuses_cleanup_scheduler_spec.rb
M spec/workers/scheduler/user_cleanup_scheduler_spec.rb
M spec/config/initializers/rack_attack_spec.rb => spec/config/initializers/rack_attack_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Rack::Attack do

M spec/controllers/about_controller_spec.rb => spec/controllers/about_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AboutController, type: :controller do

M spec/controllers/accounts_controller_spec.rb => spec/controllers/accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AccountsController, type: :controller do

M spec/controllers/activitypub/followers_synchronizations_controller_spec.rb => spec/controllers/activitypub/followers_synchronizations_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::FollowersSynchronizationsController, type: :controller do

M spec/controllers/activitypub/outboxes_controller_spec.rb => spec/controllers/activitypub/outboxes_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::OutboxesController, type: :controller do

M spec/controllers/admin/account_moderation_notes_controller_spec.rb => spec/controllers/admin/account_moderation_notes_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::AccountModerationNotesController, type: :controller do

M spec/controllers/admin/accounts_controller_spec.rb => spec/controllers/admin/accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::AccountsController, type: :controller do

M spec/controllers/admin/change_email_controller_spec.rb => spec/controllers/admin/change_email_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::ChangeEmailsController, type: :controller do

M spec/controllers/admin/confirmations_controller_spec.rb => spec/controllers/admin/confirmations_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::ConfirmationsController, type: :controller do

M spec/controllers/admin/custom_emojis_controller_spec.rb => spec/controllers/admin/custom_emojis_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Admin::CustomEmojisController do

M spec/controllers/admin/disputes/appeals_controller_spec.rb => spec/controllers/admin/disputes/appeals_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::Disputes::AppealsController, type: :controller do

M spec/controllers/admin/domain_allows_controller_spec.rb => spec/controllers/admin/domain_allows_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::DomainAllowsController, type: :controller do

M spec/controllers/admin/domain_blocks_controller_spec.rb => spec/controllers/admin/domain_blocks_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::DomainBlocksController, type: :controller do

M spec/controllers/admin/export_domain_allows_controller_spec.rb => spec/controllers/admin/export_domain_allows_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::ExportDomainAllowsController, type: :controller do

M spec/controllers/admin/export_domain_blocks_controller_spec.rb => spec/controllers/admin/export_domain_blocks_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::ExportDomainBlocksController, type: :controller do

M spec/controllers/admin/instances_controller_spec.rb => spec/controllers/admin/instances_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::InstancesController, type: :controller do

M spec/controllers/admin/report_notes_controller_spec.rb => spec/controllers/admin/report_notes_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Admin::ReportNotesController do

M spec/controllers/admin/reports/actions_controller_spec.rb => spec/controllers/admin/reports/actions_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Admin::Reports::ActionsController do

M spec/controllers/admin/reports_controller_spec.rb => spec/controllers/admin/reports_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Admin::ReportsController do

M spec/controllers/admin/resets_controller_spec.rb => spec/controllers/admin/resets_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Admin::ResetsController do

M spec/controllers/admin/roles_controller_spec.rb => spec/controllers/admin/roles_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Admin::RolesController do

M spec/controllers/admin/statuses_controller_spec.rb => spec/controllers/admin/statuses_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Admin::StatusesController do

M spec/controllers/admin/users/roles_controller.rb => spec/controllers/admin/users/roles_controller.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Admin::Users::RolesController do

M spec/controllers/admin/users/two_factor_authentications_controller_spec.rb => spec/controllers/admin/users/two_factor_authentications_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'
require 'webauthn/fake_client'


M spec/controllers/api/oembed_controller_spec.rb => spec/controllers/api/oembed_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::OEmbedController, type: :controller do

M spec/controllers/api/v1/accounts/credentials_controller_spec.rb => spec/controllers/api/v1/accounts/credentials_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Api::V1::Accounts::CredentialsController do

M spec/controllers/api/v1/accounts/follower_accounts_controller_spec.rb => spec/controllers/api/v1/accounts/follower_accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Api::V1::Accounts::FollowerAccountsController do

M spec/controllers/api/v1/accounts/following_accounts_controller_spec.rb => spec/controllers/api/v1/accounts/following_accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Api::V1::Accounts::FollowingAccountsController do

M spec/controllers/api/v1/accounts/lists_controller_spec.rb => spec/controllers/api/v1/accounts/lists_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Api::V1::Accounts::ListsController do

M spec/controllers/api/v1/accounts/notes_controller_spec.rb => spec/controllers/api/v1/accounts/notes_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Api::V1::Accounts::NotesController do

M spec/controllers/api/v1/accounts/relationships_controller_spec.rb => spec/controllers/api/v1/accounts/relationships_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Api::V1::Accounts::RelationshipsController do

M spec/controllers/api/v1/accounts/search_controller_spec.rb => spec/controllers/api/v1/accounts/search_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Accounts::SearchController, type: :controller do

M spec/controllers/api/v1/accounts_controller_spec.rb => spec/controllers/api/v1/accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::AccountsController, type: :controller do

M spec/controllers/api/v1/admin/account_actions_controller_spec.rb => spec/controllers/api/v1/admin/account_actions_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Admin::AccountActionsController, type: :controller do

M spec/controllers/api/v1/admin/accounts_controller_spec.rb => spec/controllers/api/v1/admin/accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Admin::AccountsController, type: :controller do

M spec/controllers/api/v1/admin/domain_allows_controller_spec.rb => spec/controllers/api/v1/admin/domain_allows_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Admin::DomainAllowsController, type: :controller do

M spec/controllers/api/v1/admin/domain_blocks_controller_spec.rb => spec/controllers/api/v1/admin/domain_blocks_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Admin::DomainBlocksController, type: :controller do

M spec/controllers/api/v1/admin/reports_controller_spec.rb => spec/controllers/api/v1/admin/reports_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Admin::ReportsController, type: :controller do

M spec/controllers/api/v1/apps/credentials_controller_spec.rb => spec/controllers/api/v1/apps/credentials_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Api::V1::Apps::CredentialsController do

M spec/controllers/api/v1/apps_controller_spec.rb => spec/controllers/api/v1/apps_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::AppsController, type: :controller do

M spec/controllers/api/v1/blocks_controller_spec.rb => spec/controllers/api/v1/blocks_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::BlocksController, type: :controller do

M spec/controllers/api/v1/bookmarks_controller_spec.rb => spec/controllers/api/v1/bookmarks_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::BookmarksController, type: :controller do

M spec/controllers/api/v1/conversations_controller_spec.rb => spec/controllers/api/v1/conversations_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::ConversationsController, type: :controller do

M spec/controllers/api/v1/domain_blocks_controller_spec.rb => spec/controllers/api/v1/domain_blocks_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::DomainBlocksController, type: :controller do

M spec/controllers/api/v1/emails/confirmations_controller_spec.rb => spec/controllers/api/v1/emails/confirmations_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Emails::ConfirmationsController, type: :controller do

M spec/controllers/api/v1/favourites_controller_spec.rb => spec/controllers/api/v1/favourites_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::FavouritesController, type: :controller do

M spec/controllers/api/v1/filters_controller_spec.rb => spec/controllers/api/v1/filters_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::FiltersController, type: :controller do

M spec/controllers/api/v1/follow_requests_controller_spec.rb => spec/controllers/api/v1/follow_requests_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::FollowRequestsController, type: :controller do

M spec/controllers/api/v1/followed_tags_controller_spec.rb => spec/controllers/api/v1/followed_tags_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::FollowedTagsController, type: :controller do

M spec/controllers/api/v1/lists/accounts_controller_spec.rb => spec/controllers/api/v1/lists/accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Api::V1::Lists::AccountsController do

M spec/controllers/api/v1/lists_controller_spec.rb => spec/controllers/api/v1/lists_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::ListsController, type: :controller do

M spec/controllers/api/v1/markers_controller_spec.rb => spec/controllers/api/v1/markers_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::MarkersController, type: :controller do

M spec/controllers/api/v1/media_controller_spec.rb => spec/controllers/api/v1/media_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::MediaController, type: :controller do

M spec/controllers/api/v1/mutes_controller_spec.rb => spec/controllers/api/v1/mutes_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::MutesController, type: :controller do

M spec/controllers/api/v1/notifications_controller_spec.rb => spec/controllers/api/v1/notifications_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::NotificationsController, type: :controller do

M spec/controllers/api/v1/polls/votes_controller_spec.rb => spec/controllers/api/v1/polls/votes_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Polls::VotesController, type: :controller do

M spec/controllers/api/v1/polls_controller_spec.rb => spec/controllers/api/v1/polls_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::PollsController, type: :controller do

M spec/controllers/api/v1/statuses/favourited_by_accounts_controller_spec.rb => spec/controllers/api/v1/statuses/favourited_by_accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Statuses::FavouritedByAccountsController, type: :controller do

M spec/controllers/api/v1/statuses/reblogged_by_accounts_controller_spec.rb => spec/controllers/api/v1/statuses/reblogged_by_accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::Statuses::RebloggedByAccountsController, type: :controller do

M spec/controllers/api/v1/statuses_controller_spec.rb => spec/controllers/api/v1/statuses_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::StatusesController, type: :controller do

M spec/controllers/api/v1/suggestions_controller_spec.rb => spec/controllers/api/v1/suggestions_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::SuggestionsController, type: :controller do

M spec/controllers/api/v1/tags_controller_spec.rb => spec/controllers/api/v1/tags_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V1::TagsController, type: :controller do

M spec/controllers/api/v2/admin/accounts_controller_spec.rb => spec/controllers/api/v2/admin/accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V2::Admin::AccountsController, type: :controller do

M spec/controllers/api/v2/filters/keywords_controller_spec.rb => spec/controllers/api/v2/filters/keywords_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V2::Filters::KeywordsController, type: :controller do

M spec/controllers/api/v2/filters/statuses_controller_spec.rb => spec/controllers/api/v2/filters/statuses_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V2::Filters::StatusesController, type: :controller do

M spec/controllers/api/v2/filters_controller_spec.rb => spec/controllers/api/v2/filters_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Api::V2::FiltersController, type: :controller do

M spec/controllers/auth/registrations_controller_spec.rb => spec/controllers/auth/registrations_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Auth::RegistrationsController, type: :controller do

M spec/controllers/disputes/appeals_controller_spec.rb => spec/controllers/disputes/appeals_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Disputes::AppealsController, type: :controller do

M spec/controllers/disputes/strikes_controller_spec.rb => spec/controllers/disputes/strikes_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Disputes::StrikesController, type: :controller do

M spec/controllers/emojis_controller_spec.rb => spec/controllers/emojis_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe EmojisController do

M spec/controllers/follower_accounts_controller_spec.rb => spec/controllers/follower_accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe FollowerAccountsController do

M spec/controllers/following_accounts_controller_spec.rb => spec/controllers/following_accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe FollowingAccountsController do

M spec/controllers/home_controller_spec.rb => spec/controllers/home_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe HomeController, type: :controller do

M spec/controllers/instance_actors_controller_spec.rb => spec/controllers/instance_actors_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe InstanceActorsController, type: :controller do

M spec/controllers/intents_controller_spec.rb => spec/controllers/intents_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe IntentsController, type: :controller do

M spec/controllers/invites_controller_spec.rb => spec/controllers/invites_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe InvitesController do

M spec/controllers/manifests_controller_spec.rb => spec/controllers/manifests_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe ManifestsController do

M spec/controllers/relationships_controller_spec.rb => spec/controllers/relationships_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe RelationshipsController do

M spec/controllers/settings/applications_controller_spec.rb => spec/controllers/settings/applications_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::ApplicationsController do

M spec/controllers/settings/deletes_controller_spec.rb => spec/controllers/settings/deletes_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::DeletesController do

M spec/controllers/settings/exports/blocked_accounts_controller_spec.rb => spec/controllers/settings/exports/blocked_accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::Exports::BlockedAccountsController do

M spec/controllers/settings/exports/bookmarks_controller_spec.rb => spec/controllers/settings/exports/bookmarks_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::Exports::BookmarksController do

M spec/controllers/settings/exports/following_accounts_controller_spec.rb => spec/controllers/settings/exports/following_accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::Exports::FollowingAccountsController do

M spec/controllers/settings/exports/muted_accounts_controller_spec.rb => spec/controllers/settings/exports/muted_accounts_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::Exports::MutedAccountsController do

M spec/controllers/settings/featured_tags_controller_spec.rb => spec/controllers/settings/featured_tags_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::FeaturedTagsController do

M spec/controllers/settings/imports_controller_spec.rb => spec/controllers/settings/imports_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Settings::ImportsController, type: :controller do

M spec/controllers/settings/migrations_controller_spec.rb => spec/controllers/settings/migrations_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::MigrationsController do

M spec/controllers/settings/preferences/notifications_controller_spec.rb => spec/controllers/settings/preferences/notifications_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::Preferences::NotificationsController do

M spec/controllers/settings/preferences/other_controller_spec.rb => spec/controllers/settings/preferences/other_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::Preferences::OtherController do

M spec/controllers/settings/profiles_controller_spec.rb => spec/controllers/settings/profiles_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Settings::ProfilesController, type: :controller do

M spec/controllers/settings/sessions_controller_spec.rb => spec/controllers/settings/sessions_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Settings::SessionsController do

M spec/controllers/shares_controller_spec.rb => spec/controllers/shares_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe SharesController do

M spec/controllers/statuses_cleanup_controller_spec.rb => spec/controllers/statuses_cleanup_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe StatusesCleanupController, type: :controller do

M spec/controllers/tags_controller_spec.rb => spec/controllers/tags_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe TagsController, type: :controller do

M spec/controllers/well_known/host_meta_controller_spec.rb => spec/controllers/well_known/host_meta_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe WellKnown::HostMetaController, type: :controller do

M spec/controllers/well_known/nodeinfo_controller_spec.rb => spec/controllers/well_known/nodeinfo_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe WellKnown::NodeInfoController, type: :controller do

M spec/controllers/well_known/webfinger_controller_spec.rb => spec/controllers/well_known/webfinger_controller_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe WellKnown::WebfingerController, type: :controller do

M spec/fabricators/access_grant_fabricator.rb => spec/fabricators/access_grant_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator :access_grant, from: 'Doorkeeper::AccessGrant' do
  application
  resource_owner_id { Fabricate(:user).id }

M spec/fabricators/access_token_fabricator.rb => spec/fabricators/access_token_fabricator.rb +2 -0
@@ 1,2 1,4 @@
# frozen_string_literal: true

Fabricator :access_token, from: 'Doorkeeper::AccessToken' do
end

M spec/fabricators/accessible_access_token_fabricator.rb => spec/fabricators/accessible_access_token_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator :accessible_access_token, from: :access_token do
  expires_in { nil }
  revoked_at { nil }

M spec/fabricators/account_alias_fabricator.rb => spec/fabricators/account_alias_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_alias) do
  account
  acct 'test@example.com'

M spec/fabricators/account_deletion_request_fabricator.rb => spec/fabricators/account_deletion_request_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_deletion_request) do
  account
end

M spec/fabricators/account_domain_block_fabricator.rb => spec/fabricators/account_domain_block_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_domain_block) do
  account
  domain 'example.com'

M spec/fabricators/account_fabricator.rb => spec/fabricators/account_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

keypair     = OpenSSL::PKey::RSA.new(2048)
public_key  = keypair.public_key.to_pem
private_key = keypair.to_pem

M spec/fabricators/account_migration_fabricator.rb => spec/fabricators/account_migration_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_migration) do
  account
  target_account { |attrs| Fabricate(:account, also_known_as: [ActivityPub::TagManager.instance.uri_for(attrs[:account])]) }

M spec/fabricators/account_moderation_note_fabricator.rb => spec/fabricators/account_moderation_note_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_moderation_note) do
  content 'MyText'
  account nil

M spec/fabricators/account_note_fabricator.rb => spec/fabricators/account_note_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_note) do
  account
  target_account { Fabricate(:account) }

M spec/fabricators/account_pin_fabricator.rb => spec/fabricators/account_pin_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_pin) do
  account        nil
  target_account nil

M spec/fabricators/account_stat_fabricator.rb => spec/fabricators/account_stat_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_stat) do
  account         nil
  statuses_count  ''

M spec/fabricators/account_statuses_cleanup_policy_fabricator.rb => spec/fabricators/account_statuses_cleanup_policy_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_statuses_cleanup_policy) do
  account
end

M spec/fabricators/account_tag_stat_fabricator.rb => spec/fabricators/account_tag_stat_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_tag_stat) do
  accounts_count ''
end

M spec/fabricators/account_warning_fabricator.rb => spec/fabricators/account_warning_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_warning) do
  account
  target_account(fabricator: :account)

M spec/fabricators/account_warning_preset_fabricator.rb => spec/fabricators/account_warning_preset_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:account_warning_preset) do
  text 'MyText'
end

M spec/fabricators/admin_action_log_fabricator.rb => spec/fabricators/admin_action_log_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator('Admin::ActionLog') do
  account nil
  action  'MyString'

M spec/fabricators/announcement_fabricator.rb => spec/fabricators/announcement_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:announcement) do
  text      { Faker::Lorem.paragraph(sentence_count: 2) }
  published true

M spec/fabricators/announcement_mute_fabricator.rb => spec/fabricators/announcement_mute_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:announcement_mute) do
  account
  announcement

M spec/fabricators/announcement_reaction_fabricator.rb => spec/fabricators/announcement_reaction_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:announcement_reaction) do
  account
  announcement

M spec/fabricators/appeal_fabricator.rb => spec/fabricators/appeal_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:appeal) do
  strike(fabricator: :account_warning)
  account { |attrs| attrs[:strike].target_account }

M spec/fabricators/application_fabricator.rb => spec/fabricators/application_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:application, from: Doorkeeper::Application) do
  name         'Example'
  website      'http://example.com'

M spec/fabricators/backup_fabricator.rb => spec/fabricators/backup_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:backup) do
  user
end

M spec/fabricators/block_fabricator.rb => spec/fabricators/block_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:block) do
  account
  target_account { Fabricate(:account) }

M spec/fabricators/bookmark_fabricator.rb => spec/fabricators/bookmark_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:bookmark) do
  account
  status

M spec/fabricators/canonical_email_block_fabricator.rb => spec/fabricators/canonical_email_block_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:canonical_email_block) do
  email 'test@example.com'
  reference_account { Fabricate(:account) }

M spec/fabricators/conversation_account_fabricator.rb => spec/fabricators/conversation_account_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:conversation_account) do
  account                 nil
  conversation            nil

M spec/fabricators/conversation_fabricator.rb => spec/fabricators/conversation_fabricator.rb +2 -0
@@ 1,2 1,4 @@
# frozen_string_literal: true

Fabricator(:conversation) do
end

M spec/fabricators/conversation_mute_fabricator.rb => spec/fabricators/conversation_mute_fabricator.rb +2 -0
@@ 1,2 1,4 @@
# frozen_string_literal: true

Fabricator(:conversation_mute) do
end

M spec/fabricators/custom_emoji_category_fabricator.rb => spec/fabricators/custom_emoji_category_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:custom_emoji_category) do
  name 'MyString'
end

M spec/fabricators/custom_emoji_fabricator.rb => spec/fabricators/custom_emoji_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:custom_emoji) do
  shortcode 'coolcat'
  domain    nil

M spec/fabricators/custom_filter_fabricator.rb => spec/fabricators/custom_filter_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:custom_filter) do
  account
  expires_at nil

M spec/fabricators/custom_filter_keyword_fabricator.rb => spec/fabricators/custom_filter_keyword_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:custom_filter_keyword) do
  custom_filter
  keyword 'discourse'

M spec/fabricators/custom_filter_status_fabricator.rb => spec/fabricators/custom_filter_status_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:custom_filter_status) do
  custom_filter
  status

M spec/fabricators/device_fabricator.rb => spec/fabricators/device_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:device) do
  access_token
  account

M spec/fabricators/domain_allow_fabricator.rb => spec/fabricators/domain_allow_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:domain_allow) do
  domain 'MyString'
end

M spec/fabricators/domain_block_fabricator.rb => spec/fabricators/domain_block_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:domain_block) do
  domain { sequence(:domain) { |i| "#{i}#{Faker::Internet.domain_name}" } }
end

M spec/fabricators/email_domain_block_fabricator.rb => spec/fabricators/email_domain_block_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:email_domain_block) do
  domain { sequence(:domain) { |i| "#{i}#{Faker::Internet.domain_name}" } }
end

M spec/fabricators/encrypted_message_fabricator.rb => spec/fabricators/encrypted_message_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:encrypted_message) do
  device
  from_account

M spec/fabricators/favourite_fabricator.rb => spec/fabricators/favourite_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:favourite) do
  account
  status

M spec/fabricators/featured_tag_fabricator.rb => spec/fabricators/featured_tag_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:featured_tag) do
  account
  tag

M spec/fabricators/follow_fabricator.rb => spec/fabricators/follow_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:follow) do
  account
  target_account { Fabricate(:account) }

M spec/fabricators/follow_recommendation_suppression_fabricator.rb => spec/fabricators/follow_recommendation_suppression_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:follow_recommendation_suppression) do
  account
end

M spec/fabricators/follow_request_fabricator.rb => spec/fabricators/follow_request_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:follow_request) do
  account
  target_account { Fabricate(:account, locked: true) }

M spec/fabricators/identity_fabricator.rb => spec/fabricators/identity_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:identity) do
  user     nil
  provider 'MyString'

M spec/fabricators/import_fabricator.rb => spec/fabricators/import_fabricator.rb +2 -0
@@ 1,2 1,4 @@
# frozen_string_literal: true

Fabricator(:import) do
end

M spec/fabricators/invite_fabricator.rb => spec/fabricators/invite_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:invite) do
  user
  expires_at nil

M spec/fabricators/ip_block_fabricator.rb => spec/fabricators/ip_block_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:ip_block) do
  ip         ''
  severity   ''

M spec/fabricators/list_account_fabricator.rb => spec/fabricators/list_account_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:list_account) do
  list    nil
  account nil

M spec/fabricators/list_fabricator.rb => spec/fabricators/list_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:list) do
  account
  title 'MyString'

M spec/fabricators/login_activity_fabricator.rb => spec/fabricators/login_activity_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:login_activity) do
  user
  authentication_method 'password'

M spec/fabricators/marker_fabricator.rb => spec/fabricators/marker_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:marker) do
  user
  timeline     'home'

M spec/fabricators/media_attachment_fabricator.rb => spec/fabricators/media_attachment_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:media_attachment) do
  account


M spec/fabricators/mention_fabricator.rb => spec/fabricators/mention_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:mention) do
  account
  status

M spec/fabricators/mute_fabricator.rb => spec/fabricators/mute_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:mute) do
  account
  target_account { Fabricate(:account) }

M spec/fabricators/notification_fabricator.rb => spec/fabricators/notification_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:notification) do
  activity fabricator: [:mention, :status, :follow, :follow_request, :favourite].sample
  account

M spec/fabricators/one_time_key_fabricator.rb => spec/fabricators/one_time_key_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:one_time_key) do
  device
  key_id { Faker::Alphanumeric.alphanumeric(number: 10) }

M spec/fabricators/poll_fabricator.rb => spec/fabricators/poll_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:poll) do
  account
  status

M spec/fabricators/poll_vote_fabricator.rb => spec/fabricators/poll_vote_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:poll_vote) do
  account
  poll

M spec/fabricators/preview_card_fabricator.rb => spec/fabricators/preview_card_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:preview_card) do
  url { Faker::Internet.url }
  title { Faker::Lorem.sentence }

M spec/fabricators/relay_fabricator.rb => spec/fabricators/relay_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:relay) do
  inbox_url 'https://example.com/inbox'
  state :idle

M spec/fabricators/report_fabricator.rb => spec/fabricators/report_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:report) do
  account
  target_account  { Fabricate(:account) }

M spec/fabricators/report_note_fabricator.rb => spec/fabricators/report_note_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:report_note) do
  report
  account { Fabricate(:account) }

M spec/fabricators/rule_fabricator.rb => spec/fabricators/rule_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:rule) do
  priority   0
  deleted_at nil

M spec/fabricators/scheduled_status_fabricator.rb => spec/fabricators/scheduled_status_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:scheduled_status) do
  account
  scheduled_at { 20.hours.from_now }

M spec/fabricators/session_activation_fabricator.rb => spec/fabricators/session_activation_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:session_activation) do
  user
  session_id 'MyString'

M spec/fabricators/site_upload_fabricator.rb => spec/fabricators/site_upload_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:site_upload) do
  file { File.open(File.join(Rails.root, 'spec', 'fabricators', 'assets', 'utah_teapot.png')) }
end

M spec/fabricators/status_edit_fabricator.rb => spec/fabricators/status_edit_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:status_edit) do
  status                    nil
  account                   nil

M spec/fabricators/status_fabricator.rb => spec/fabricators/status_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:status) do
  account
  text 'Lorem ipsum dolor sit amet'

M spec/fabricators/status_pin_fabricator.rb => spec/fabricators/status_pin_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:status_pin) do
  account
  status { |attrs| Fabricate(:status, account: attrs[:account], visibility: :public) }

M spec/fabricators/status_stat_fabricator.rb => spec/fabricators/status_stat_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:status_stat) do
  status_id        nil
  replies_count    ''

M spec/fabricators/system_key_fabricator.rb => spec/fabricators/system_key_fabricator.rb +2 -0
@@ 1,2 1,4 @@
# frozen_string_literal: true

Fabricator(:system_key) do
end

M spec/fabricators/tag_fabricator.rb => spec/fabricators/tag_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:tag) do
  name { sequence(:hashtag) { |i| "#{Faker::Lorem.word}#{i}" } }
end

M spec/fabricators/tag_follow_fabricator.rb => spec/fabricators/tag_follow_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:tag_follow) do
  tag
  account

M spec/fabricators/unavailable_domain_fabricator.rb => spec/fabricators/unavailable_domain_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:unavailable_domain) do
  domain { Faker::Internet.domain }
end

M spec/fabricators/user_fabricator.rb => spec/fabricators/user_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:user) do
  account      { Fabricate.build(:account, user: nil) }
  email        { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }

M spec/fabricators/user_invite_request_fabricator.rb => spec/fabricators/user_invite_request_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:user_invite_request) do
  user
  text { Faker::Lorem.sentence }

M spec/fabricators/user_role_fabricator.rb => spec/fabricators/user_role_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:user_role) do
  name        'MyString'
  color       ''

M spec/fabricators/web_push_subscription_fabricator.rb => spec/fabricators/web_push_subscription_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:web_push_subscription, from: Web::PushSubscription) do
  endpoint   Faker::Internet.url
  key_p256dh Faker::Internet.password

M spec/fabricators/web_setting_fabricator.rb => spec/fabricators/web_setting_fabricator.rb +2 -0
@@ 1,2 1,4 @@
# frozen_string_literal: true

Fabricator(:web_setting, from: Web::Setting) do
end

M spec/fabricators/webauthn_credential_fabricator.rb => spec/fabricators/webauthn_credential_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:webauthn_credential) do
  user_id { Fabricate(:user).id }
  external_id { Base64.urlsafe_encode64(SecureRandom.random_bytes(16)) }

M spec/fabricators/webhook_fabricator.rb => spec/fabricators/webhook_fabricator.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

Fabricator(:webhook) do
  url { Faker::Internet.url }
  secret { SecureRandom.hex }

M spec/helpers/accounts_helper_spec.rb => spec/helpers/accounts_helper_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AccountsHelper, type: :helper do

M spec/helpers/admin/filter_helper_spec.rb => spec/helpers/admin/filter_helper_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Admin::FilterHelper do

M spec/helpers/application_helper_spec.rb => spec/helpers/application_helper_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe ApplicationHelper do

M spec/helpers/home_helper_spec.rb => spec/helpers/home_helper_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe HomeHelper, type: :helper do

M spec/helpers/statuses_helper_spec.rb => spec/helpers/statuses_helper_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe StatusesHelper, type: :helper do

M spec/lib/activitypub/activity/accept_spec.rb => spec/lib/activitypub/activity/accept_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Accept do

M spec/lib/activitypub/activity/add_spec.rb => spec/lib/activitypub/activity/add_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Add do

M spec/lib/activitypub/activity/announce_spec.rb => spec/lib/activitypub/activity/announce_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Announce do

M spec/lib/activitypub/activity/block_spec.rb => spec/lib/activitypub/activity/block_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Block do

M spec/lib/activitypub/activity/create_spec.rb => spec/lib/activitypub/activity/create_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Create do

M spec/lib/activitypub/activity/delete_spec.rb => spec/lib/activitypub/activity/delete_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Delete do

M spec/lib/activitypub/activity/flag_spec.rb => spec/lib/activitypub/activity/flag_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Flag do

M spec/lib/activitypub/activity/follow_spec.rb => spec/lib/activitypub/activity/follow_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Follow do

M spec/lib/activitypub/activity/like_spec.rb => spec/lib/activitypub/activity/like_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Like do

M spec/lib/activitypub/activity/move_spec.rb => spec/lib/activitypub/activity/move_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Move do

M spec/lib/activitypub/activity/reject_spec.rb => spec/lib/activitypub/activity/reject_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Reject do

M spec/lib/activitypub/activity/remove_spec.rb => spec/lib/activitypub/activity/remove_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Remove do

M spec/lib/activitypub/activity/undo_spec.rb => spec/lib/activitypub/activity/undo_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Undo do

M spec/lib/activitypub/activity/update_spec.rb => spec/lib/activitypub/activity/update_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Activity::Update do

M spec/lib/activitypub/adapter_spec.rb => spec/lib/activitypub/adapter_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Adapter do

M spec/lib/activitypub/dereferencer_spec.rb => spec/lib/activitypub/dereferencer_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::Dereferencer do

M spec/lib/activitypub/linked_data_signature_spec.rb => spec/lib/activitypub/linked_data_signature_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::LinkedDataSignature do

M spec/lib/activitypub/tag_manager_spec.rb => spec/lib/activitypub/tag_manager_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::TagManager do

M spec/lib/emoji_formatter_spec.rb => spec/lib/emoji_formatter_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe EmojiFormatter do

M spec/lib/entity_cache_spec.rb => spec/lib/entity_cache_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe EntityCache do

M spec/lib/feed_manager_spec.rb => spec/lib/feed_manager_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FeedManager do

M spec/lib/html_aware_formatter_spec.rb => spec/lib/html_aware_formatter_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe HtmlAwareFormatter do

M spec/lib/link_details_extractor_spec.rb => spec/lib/link_details_extractor_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe LinkDetailsExtractor do

M spec/lib/plain_text_formatter_spec.rb => spec/lib/plain_text_formatter_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe PlainTextFormatter do

M spec/lib/suspicious_sign_in_detector_spec.rb => spec/lib/suspicious_sign_in_detector_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe SuspiciousSignInDetector do

M spec/lib/tag_manager_spec.rb => spec/lib/tag_manager_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe TagManager do

M spec/lib/text_formatter_spec.rb => spec/lib/text_formatter_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe TextFormatter do

M spec/lib/vacuum/access_tokens_vacuum_spec.rb => spec/lib/vacuum/access_tokens_vacuum_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Vacuum::AccessTokensVacuum do

M spec/lib/vacuum/backups_vacuum_spec.rb => spec/lib/vacuum/backups_vacuum_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Vacuum::BackupsVacuum do

M spec/lib/vacuum/feeds_vacuum_spec.rb => spec/lib/vacuum/feeds_vacuum_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Vacuum::FeedsVacuum do

M spec/lib/vacuum/media_attachments_vacuum_spec.rb => spec/lib/vacuum/media_attachments_vacuum_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Vacuum::MediaAttachmentsVacuum do

M spec/lib/vacuum/preview_cards_vacuum_spec.rb => spec/lib/vacuum/preview_cards_vacuum_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Vacuum::PreviewCardsVacuum do

M spec/lib/vacuum/statuses_vacuum_spec.rb => spec/lib/vacuum/statuses_vacuum_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Vacuum::StatusesVacuum do

M spec/lib/vacuum/system_keys_vacuum_spec.rb => spec/lib/vacuum/system_keys_vacuum_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Vacuum::SystemKeysVacuum do

M spec/lib/webfinger_resource_spec.rb => spec/lib/webfinger_resource_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe WebfingerResource do

M spec/mailers/notification_mailer_spec.rb => spec/mailers/notification_mailer_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe NotificationMailer, type: :mailer do

M spec/mailers/previews/admin_mailer_preview.rb => spec/mailers/previews/admin_mailer_preview.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

# Preview all emails at http://localhost:3000/rails/mailers/admin_mailer

class AdminMailerPreview < ActionMailer::Preview

M spec/mailers/previews/notification_mailer_preview.rb => spec/mailers/previews/notification_mailer_preview.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

# Preview all emails at http://localhost:3000/rails/mailers/notification_mailer

class NotificationMailerPreview < ActionMailer::Preview

M spec/mailers/previews/user_mailer_preview.rb => spec/mailers/previews/user_mailer_preview.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

# Preview all emails at http://localhost:3000/rails/mailers/user_mailer

class UserMailerPreview < ActionMailer::Preview

M spec/models/account/field_spec.rb => spec/models/account/field_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Account::Field, type: :model do

M spec/models/account_alias_spec.rb => spec/models/account_alias_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AccountAlias, type: :model do

M spec/models/account_conversation_spec.rb => spec/models/account_conversation_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AccountConversation, type: :model do

M spec/models/account_deletion_request_spec.rb => spec/models/account_deletion_request_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AccountDeletionRequest, type: :model do

M spec/models/account_domain_block_spec.rb => spec/models/account_domain_block_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AccountDomainBlock, type: :model do

M spec/models/account_filter_spec.rb => spec/models/account_filter_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe AccountFilter do

M spec/models/account_migration_spec.rb => spec/models/account_migration_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AccountMigration, type: :model do

M spec/models/account_moderation_note_spec.rb => spec/models/account_moderation_note_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AccountModerationNote, type: :model do

M spec/models/account_spec.rb => spec/models/account_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Account, type: :model do

M spec/models/account_statuses_cleanup_policy_spec.rb => spec/models/account_statuses_cleanup_policy_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AccountStatusesCleanupPolicy, type: :model do

M spec/models/admin/account_action_spec.rb => spec/models/admin/account_action_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Admin::AccountAction, type: :model do

M spec/models/announcement_mute_spec.rb => spec/models/announcement_mute_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AnnouncementMute, type: :model do

M spec/models/announcement_reaction_spec.rb => spec/models/announcement_reaction_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AnnouncementReaction, type: :model do

M spec/models/announcement_spec.rb => spec/models/announcement_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Announcement, type: :model do

M spec/models/appeal_spec.rb => spec/models/appeal_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Appeal, type: :model do

M spec/models/backup_spec.rb => spec/models/backup_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Backup, type: :model do

M spec/models/block_spec.rb => spec/models/block_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Block, type: :model do

M spec/models/canonical_email_block_spec.rb => spec/models/canonical_email_block_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe CanonicalEmailBlock, type: :model do

M spec/models/concerns/account_counters_spec.rb => spec/models/concerns/account_counters_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe AccountCounters do

M spec/models/concerns/account_interactions_spec.rb => spec/models/concerns/account_interactions_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe AccountInteractions do

M spec/models/conversation_mute_spec.rb => spec/models/conversation_mute_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ConversationMute, type: :model do

M spec/models/conversation_spec.rb => spec/models/conversation_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Conversation, type: :model do

M spec/models/custom_emoji_category_spec.rb => spec/models/custom_emoji_category_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe CustomEmojiCategory, type: :model do

M spec/models/custom_emoji_spec.rb => spec/models/custom_emoji_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe CustomEmoji, type: :model do

M spec/models/custom_filter_keyword_spec.rb => spec/models/custom_filter_keyword_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe CustomFilterKeyword, type: :model do

M spec/models/custom_filter_spec.rb => spec/models/custom_filter_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe CustomFilter, type: :model do

M spec/models/device_spec.rb => spec/models/device_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Device, type: :model do

M spec/models/domain_allow_spec.rb => spec/models/domain_allow_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe DomainAllow, type: :model do

M spec/models/domain_block_spec.rb => spec/models/domain_block_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe DomainBlock, type: :model do

M spec/models/email_domain_block_spec.rb => spec/models/email_domain_block_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe EmailDomainBlock, type: :model do

M spec/models/encrypted_message_spec.rb => spec/models/encrypted_message_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe EncryptedMessage, type: :model do

M spec/models/export_spec.rb => spec/models/export_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Export do

M spec/models/favourite_spec.rb => spec/models/favourite_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Favourite, type: :model do

M spec/models/featured_tag_spec.rb => spec/models/featured_tag_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FeaturedTag, type: :model do

M spec/models/follow_recommendation_suppression_spec.rb => spec/models/follow_recommendation_suppression_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FollowRecommendationSuppression, type: :model do

M spec/models/follow_request_spec.rb => spec/models/follow_request_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FollowRequest, type: :model do

M spec/models/follow_spec.rb => spec/models/follow_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Follow, type: :model do

M spec/models/home_feed_spec.rb => spec/models/home_feed_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe HomeFeed, type: :model do

M spec/models/identity_spec.rb => spec/models/identity_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Identity, type: :model do

M spec/models/import_spec.rb => spec/models/import_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Import, type: :model do

M spec/models/invite_spec.rb => spec/models/invite_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Invite, type: :model do

M spec/models/ip_block_spec.rb => spec/models/ip_block_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe IpBlock, type: :model do

M spec/models/list_account_spec.rb => spec/models/list_account_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ListAccount, type: :model do

M spec/models/list_spec.rb => spec/models/list_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe List, type: :model do

M spec/models/login_activity_spec.rb => spec/models/login_activity_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe LoginActivity, type: :model do

M spec/models/marker_spec.rb => spec/models/marker_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Marker, type: :model do

M spec/models/media_attachment_spec.rb => spec/models/media_attachment_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe MediaAttachment, type: :model do

M spec/models/mention_spec.rb => spec/models/mention_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Mention, type: :model do

M spec/models/mute_spec.rb => spec/models/mute_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Mute, type: :model do

M spec/models/notification_spec.rb => spec/models/notification_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Notification, type: :model do

M spec/models/one_time_key_spec.rb => spec/models/one_time_key_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe OneTimeKey, type: :model do

M spec/models/poll_spec.rb => spec/models/poll_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Poll, type: :model do

M spec/models/preview_card_spec.rb => spec/models/preview_card_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe PreviewCard, type: :model do

M spec/models/preview_card_trend_spec.rb => spec/models/preview_card_trend_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe PreviewCardTrend, type: :model do

M spec/models/public_feed_spec.rb => spec/models/public_feed_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe PublicFeed, type: :model do

M spec/models/relay_spec.rb => spec/models/relay_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Relay, type: :model do

M spec/models/report_filter_spec.rb => spec/models/report_filter_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe ReportFilter do

M spec/models/report_spec.rb => spec/models/report_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Report do

M spec/models/rule_spec.rb => spec/models/rule_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Rule, type: :model do

M spec/models/scheduled_status_spec.rb => spec/models/scheduled_status_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ScheduledStatus, type: :model do

M spec/models/status_edit_spec.rb => spec/models/status_edit_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe StatusEdit, type: :model do

M spec/models/status_pin_spec.rb => spec/models/status_pin_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe StatusPin, type: :model do

M spec/models/status_spec.rb => spec/models/status_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Status, type: :model do

M spec/models/status_stat_spec.rb => spec/models/status_stat_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe StatusStat, type: :model do

M spec/models/status_trend_spec.rb => spec/models/status_trend_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe StatusTrend, type: :model do

M spec/models/system_key_spec.rb => spec/models/system_key_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe SystemKey, type: :model do

M spec/models/tag_feed_spec.rb => spec/models/tag_feed_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe TagFeed, type: :service do

M spec/models/tag_follow_spec.rb => spec/models/tag_follow_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe TagFollow, type: :model do

M spec/models/trends/statuses_spec.rb => spec/models/trends/statuses_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Trends::Statuses do

M spec/models/trends/tags_spec.rb => spec/models/trends/tags_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Trends::Tags do

M spec/models/unavailable_domain_spec.rb => spec/models/unavailable_domain_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UnavailableDomain, type: :model do

M spec/models/user_invite_request_spec.rb => spec/models/user_invite_request_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UserInviteRequest, type: :model do

M spec/models/user_role_spec.rb => spec/models/user_role_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UserRole, type: :model do

M spec/models/user_spec.rb => spec/models/user_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'
require 'devise_two_factor/spec_helpers'


M spec/models/web/push_subscription_spec.rb => spec/models/web/push_subscription_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Web::PushSubscription, type: :model do

M spec/models/web/setting_spec.rb => spec/models/web/setting_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Web::Setting, type: :model do

M spec/models/webauthn_credentials_spec.rb => spec/models/webauthn_credentials_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe WebauthnCredential, type: :model do

M spec/models/webhook_spec.rb => spec/models/webhook_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Webhook, type: :model do

M spec/presenters/instance_presenter_spec.rb => spec/presenters/instance_presenter_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe InstancePresenter do

M spec/rails_helper.rb => spec/rails_helper.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../config/environment', __dir__)


M spec/requests/catch_all_route_request_spec.rb => spec/requests/catch_all_route_request_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe 'The catch all route' do

M spec/requests/host_meta_request_spec.rb => spec/requests/host_meta_request_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe 'The host_meta route' do

M spec/requests/webfinger_request_spec.rb => spec/requests/webfinger_request_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe 'The webfinger route' do

M spec/routing/accounts_routing_spec.rb => spec/routing/accounts_routing_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe 'Routes under accounts/' do

M spec/routing/well_known_routes_spec.rb => spec/routing/well_known_routes_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe 'Well Known routes' do

M spec/services/account_search_service_spec.rb => spec/services/account_search_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe AccountSearchService, type: :service do

M spec/services/account_statuses_cleanup_service_spec.rb => spec/services/account_statuses_cleanup_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe AccountStatusesCleanupService, type: :service do

M spec/services/activitypub/fetch_featured_collection_service_spec.rb => spec/services/activitypub/fetch_featured_collection_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::FetchFeaturedCollectionService, type: :service do

M spec/services/activitypub/fetch_featured_tags_collection_service_spec.rb => spec/services/activitypub/fetch_featured_tags_collection_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::FetchFeaturedTagsCollectionService, type: :service do

M spec/services/activitypub/fetch_remote_account_service_spec.rb => spec/services/activitypub/fetch_remote_account_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::FetchRemoteAccountService, type: :service do

M spec/services/activitypub/fetch_remote_actor_service_spec.rb => spec/services/activitypub/fetch_remote_actor_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::FetchRemoteActorService, type: :service do

M spec/services/activitypub/fetch_remote_key_service_spec.rb => spec/services/activitypub/fetch_remote_key_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::FetchRemoteKeyService, type: :service do

M spec/services/activitypub/fetch_remote_status_service_spec.rb => spec/services/activitypub/fetch_remote_status_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::FetchRemoteStatusService, type: :service do

M spec/services/activitypub/fetch_replies_service_spec.rb => spec/services/activitypub/fetch_replies_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::FetchRepliesService, type: :service do

M spec/services/activitypub/process_account_service_spec.rb => spec/services/activitypub/process_account_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::ProcessAccountService, type: :service do

M spec/services/activitypub/process_collection_service_spec.rb => spec/services/activitypub/process_collection_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::ProcessCollectionService, type: :service do

M spec/services/activitypub/process_status_update_service_spec.rb => spec/services/activitypub/process_status_update_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

def poll_option_json(name, votes)

M spec/services/activitypub/synchronize_followers_service_spec.rb => spec/services/activitypub/synchronize_followers_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ActivityPub::SynchronizeFollowersService, type: :service do

M spec/services/after_block_domain_from_account_service_spec.rb => spec/services/after_block_domain_from_account_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AfterBlockDomainFromAccountService, type: :service do

M spec/services/after_block_service_spec.rb => spec/services/after_block_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AfterBlockService, type: :service do

M spec/services/app_sign_up_service_spec.rb => spec/services/app_sign_up_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AppSignUpService, type: :service do

M spec/services/authorize_follow_service_spec.rb => spec/services/authorize_follow_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe AuthorizeFollowService, type: :service do

M spec/services/batched_remove_status_service_spec.rb => spec/services/batched_remove_status_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe BatchedRemoveStatusService, type: :service do

M spec/services/block_domain_service_spec.rb => spec/services/block_domain_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe BlockDomainService, type: :service do

M spec/services/block_service_spec.rb => spec/services/block_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe BlockService, type: :service do

M spec/services/bootstrap_timeline_service_spec.rb => spec/services/bootstrap_timeline_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe BootstrapTimelineService, type: :service do

M spec/services/clear_domain_media_service_spec.rb => spec/services/clear_domain_media_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ClearDomainMediaService, type: :service do

M spec/services/delete_account_service_spec.rb => spec/services/delete_account_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe DeleteAccountService, type: :service do

M spec/services/fan_out_on_write_service_spec.rb => spec/services/fan_out_on_write_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FanOutOnWriteService, type: :service do

M spec/services/favourite_service_spec.rb => spec/services/favourite_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FavouriteService, type: :service do

M spec/services/fetch_link_card_service_spec.rb => spec/services/fetch_link_card_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FetchLinkCardService, type: :service do

M spec/services/fetch_remote_status_service_spec.rb => spec/services/fetch_remote_status_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FetchRemoteStatusService, type: :service do

M spec/services/fetch_resource_service_spec.rb => spec/services/fetch_resource_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FetchResourceService, type: :service do

M spec/services/follow_service_spec.rb => spec/services/follow_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe FollowService, type: :service do

M spec/services/import_service_spec.rb => spec/services/import_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ImportService, type: :service do

M spec/services/mute_service_spec.rb => spec/services/mute_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe MuteService, type: :service do

M spec/services/notify_service_spec.rb => spec/services/notify_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe NotifyService, type: :service do

M spec/services/post_status_service_spec.rb => spec/services/post_status_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe PostStatusService, type: :service do

M spec/services/process_mentions_service_spec.rb => spec/services/process_mentions_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ProcessMentionsService, type: :service do

M spec/services/purge_domain_service_spec.rb => spec/services/purge_domain_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe PurgeDomainService, type: :service do

M spec/services/reblog_service_spec.rb => spec/services/reblog_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ReblogService, type: :service do

M spec/services/reject_follow_service_spec.rb => spec/services/reject_follow_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe RejectFollowService, type: :service do

M spec/services/remove_from_follwers_service_spec.rb => spec/services/remove_from_follwers_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe RemoveFromFollowersService, type: :service do

M spec/services/remove_status_service_spec.rb => spec/services/remove_status_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe RemoveStatusService, type: :service do

M spec/services/report_service_spec.rb => spec/services/report_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ReportService, type: :service do

M spec/services/resolve_account_service_spec.rb => spec/services/resolve_account_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe ResolveAccountService, type: :service do

M spec/services/suspend_account_service_spec.rb => spec/services/suspend_account_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe SuspendAccountService, type: :service do

M spec/services/unallow_domain_service_spec.rb => spec/services/unallow_domain_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UnallowDomainService, type: :service do

M spec/services/unblock_service_spec.rb => spec/services/unblock_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UnblockService, type: :service do

M spec/services/unfollow_service_spec.rb => spec/services/unfollow_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UnfollowService, type: :service do

M spec/services/unmute_service_spec.rb => spec/services/unmute_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UnmuteService, type: :service do

M spec/services/unsuspend_account_service_spec.rb => spec/services/unsuspend_account_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UnsuspendAccountService, type: :service do

M spec/services/update_account_service_spec.rb => spec/services/update_account_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UpdateAccountService, type: :service do

M spec/services/update_status_service_spec.rb => spec/services/update_status_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe UpdateStatusService, type: :service do

M spec/services/verify_link_service_spec.rb => spec/services/verify_link_service_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe VerifyLinkService, type: :service do

M spec/spec_helper.rb => spec/spec_helper.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

GC.disable

if ENV['DISABLE_SIMPLECOV'] != 'true'

M spec/support/matchers/json/match_json_schema.rb => spec/support/matchers/json/match_json_schema.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

RSpec::Matchers.define :match_json_schema do |schema|
  match do |input_json|
    schema_path = Rails.root.join('spec', 'support', 'schema', "#{schema}.json").to_s

M spec/support/matchers/model/model_have_error_on_field.rb => spec/support/matchers/model/model_have_error_on_field.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

RSpec::Matchers.define :model_have_error_on_field do |expected|
  match do |record|
    record.valid? if record.errors.empty?

M spec/workers/activitypub/distribute_poll_update_worker_spec.rb => spec/workers/activitypub/distribute_poll_update_worker_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe ActivityPub::DistributePollUpdateWorker do

M spec/workers/activitypub/distribution_worker_spec.rb => spec/workers/activitypub/distribution_worker_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe ActivityPub::DistributionWorker do

M spec/workers/activitypub/move_distribution_worker_spec.rb => spec/workers/activitypub/move_distribution_worker_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe ActivityPub::MoveDistributionWorker do

M spec/workers/activitypub/processing_worker_spec.rb => spec/workers/activitypub/processing_worker_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe ActivityPub::ProcessingWorker do

M spec/workers/activitypub/status_update_distribution_worker_spec.rb => spec/workers/activitypub/status_update_distribution_worker_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe ActivityPub::StatusUpdateDistributionWorker do

M spec/workers/activitypub/update_distribution_worker_spec.rb => spec/workers/activitypub/update_distribution_worker_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe ActivityPub::UpdateDistributionWorker do

M spec/workers/scheduler/accounts_statuses_cleanup_scheduler_spec.rb => spec/workers/scheduler/accounts_statuses_cleanup_scheduler_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Scheduler::AccountsStatusesCleanupScheduler do

M spec/workers/scheduler/user_cleanup_scheduler_spec.rb => spec/workers/scheduler/user_cleanup_scheduler_spec.rb +2 -0
@@ 1,3 1,5 @@
# frozen_string_literal: true

require 'rails_helper'

describe Scheduler::UserCleanupScheduler do