You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/models
Claire 8477bec2f2
Merge commit from fork
* Streaming: Ensure disabled users cannot connect to streaming

* Streaming: Disconnect when the user is disabled

---------

Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
1 month ago
..
account Fix `RSpec/VerifiedDoubles` cop (#25469) 2 years ago
account_suggestions Fix friends-of-friends recommendations suggesting already-requested accounts (#35604) 4 months ago
admin Add role-specific user fabricators (#33437) 11 months ago
concerns Move remaining `_map` method specs from account to mappings spec (#35142) 5 months ago
doorkeeper Add coverage for doorkeeper model extensions (#35161) 5 months ago
fasp Add support for FASP data sharing (#34415) 6 months ago
form Extend custom CSS cache time with digest paths (#33207) 11 months ago
trends Add restrictions on which quote posts can trend (#35507) 4 months ago
user_settings Fix minor typos in comments and spec names (#21831) 3 years ago
web Fix `RSpec/EmptyExampleGroup` cop (#24735) 2 years ago
account_alias_spec.rb Add coverage for `AccountAlias` validations (#31936) 1 year ago
account_conversation_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 3 years ago
account_deletion_request_spec.rb Add coverage for `AccountDeletionRequest` class (#31937) 1 year ago
account_domain_block_spec.rb Check both before/after state in `AccountDomainBlock` spec (#30640) 1 year ago
account_filter_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 1 year ago
account_migration_spec.rb Simplify model validation specs for `AccountMigration` (#32494) 1 year ago
account_moderation_note_spec.rb Simplify model validation spec in AccountModerationNote/ReportNote (#31792) 1 year ago
account_pin_spec.rb Add coverage for `AccountPin` model (#33231) 12 months ago
account_spec.rb Remove unused scopes in `Account` model (#35276) 5 months ago
account_statuses_cleanup_policy_spec.rb Wrap assertions in `change` within `AccountStatusesCleanupPolicy` spec (#33335) 11 months ago
account_summary_spec.rb Use `in_order_of` with `filter: false` in `AccountSummary.localized` (#33446) 11 months ago
account_warning_preset_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 1 year ago
account_warning_spec.rb Add `AccountWarning#appeal_eligible?` method (#33526) 11 months ago
announcement_spec.rb Simplify model validation specs for `Announcement` (#32481) 1 year ago
appeal_spec.rb Add `AccountWarning#appeal_eligible?` method (#33526) 11 months ago
async_refresh_spec.rb Experimental Async Refreshes API (#34918) 6 months ago
block_spec.rb Expand coverage for `Block` model (#32480) 1 year ago
bookmark_spec.rb Add coverage for `Bookmark` validation and reblog/status check callback (#31907) 1 year ago
bulk_import_spec.rb Add age/expiry duration constants to `BulkImport` class (#32839) 1 year ago
canonical_email_block_spec.rb Clean up of `RSpec/LetSetup` within `spec/models` (#28444) 2 years ago
conversation_spec.rb Fix RSpec/InferredSpecType cop (#24736) 3 years ago
custom_emoji_category_spec.rb Simplify basic presence validations (#29664) 1 year ago
custom_emoji_filter_spec.rb Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2 years ago
custom_emoji_spec.rb Add validation coverage for `CustomEmoji` shortcode value (#31906) 1 year ago
custom_filter_keyword_spec.rb Add `CustomFilterKeyword#to_regex` method (#28893) 2 years ago
custom_filter_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
domain_allow_spec.rb Simplify model validation specs for `DomainAllow` (#32496) 1 year ago
domain_block_spec.rb Reinforce coverage for `DomainBlock` model (#32473) 1 year ago
email_domain_block_spec.rb Fix RSpec/MissingExampleGroupArgument cop (#25310) 3 years ago
export_spec.rb Extract `ExportSummary` class for account object counts (#32227) 1 year ago
extended_description_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 1 year ago
favourite_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 3 years ago
featured_tag_spec.rb Add REST API for featuring and unfeaturing a hashtag (#34489) 7 months ago
follow_request_spec.rb Change lists to reflect added and removed users retroactively (#32930) 1 year ago
follow_spec.rb Fortify coverage for `Follow` model (#32472) 1 year ago
home_feed_spec.rb Experimental Async Refreshes API (#34918) 6 months ago
identity_spec.rb Merge pull request from GHSA-vm39-j3vx-pch3 2 years ago
instance_moderation_note_spec.rb Implement Instance Moderation Notes (#31529) 5 months ago
instance_spec.rb Implement Instance Moderation Notes (#31529) 5 months ago
invite_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
ip_block_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
list_account_spec.rb Remove `follow` creation from `ListAccount` fabricator (#31902) 1 year ago
list_spec.rb Fix list creation limit check (#32869) 1 year ago
login_activity_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
marker_spec.rb Simplify basic presence validations (#29664) 1 year ago
media_attachment_spec.rb Use `config_for` for cache buster values (#34851) 6 months ago
mention_spec.rb Standardize uniqueness validation declaration on `Mention` (#33247) 12 months ago
mute_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
notification_policy_spec.rb Fix notification requests from suspended accounts still being listed (#32354) 1 year ago
notification_request_spec.rb Change notification requests to only count mentions (#31322) 1 year ago
notification_spec.rb Combine assertions in `Notification` model spec (#32015) 1 year ago
poll_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
poll_vote_spec.rb Fix RSpec/InferredSpecType cop (#24736) 3 years ago
preview_card_provider_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
preview_card_spec.rb Simplify model validation specs for `PreviewCard` (#32469) 1 year ago
preview_card_trend_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
privacy_policy_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 1 year ago
public_feed_spec.rb Reduce factory creation (73 -> 64) in `PublicFeed` spec (#32491) 1 year ago
relationship_filter_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 1 year ago
relationship_severance_event_spec.rb Add notifications of severed relationships (#27511) 2 years ago
relay_spec.rb Add coverage for model normalizations (#31734) 1 year ago
remote_follow_spec.rb Allow more flexible host/port treatment with LOCAL_DOMAIN values in tests (#35040) 5 months ago
report_filter_spec.rb Add `relevant_params` to ReportFilter (matches account filter) (#32136) 1 year ago
report_note_spec.rb Simplify model validation spec in AccountModerationNote/ReportNote (#31792) 1 year ago
report_spec.rb Simplify model validation specs for `Report` (#33267) 12 months ago
rule_spec.rb Use more generic locale as fallback for rules (#34756) 6 months ago
rule_translation_spec.rb Add model coverage and scopes to `RuleTranslation` class (#35098) 5 months ago
scheduled_status_spec.rb Add Specs for Scheduled Status Model Validations (#30585) 1 year ago
session_activation_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
setting_spec.rb Clean up `Setting` model and remove dead code (#28661) 2 years ago
severed_relationship_spec.rb Add notifications of severed relationships (#27511) 2 years ago
site_upload_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 3 years ago
software_update_spec.rb Add `urgent` scope and `by_version` method to `SoftwareUpdate` (#33470) 11 months ago
status_edit_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 1 year ago
status_pin_spec.rb Enhance coverage for `StatusPin` model (#32515) 1 year ago
status_spec.rb Add `Status#only_reblogs` scope for annual report classes (#35141) 5 months ago
status_trend_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
tag_feed_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 1 year ago
tag_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
tag_trend_spec.rb Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
terms_of_service_spec.rb Fix intermittent failure of TOS model spec from effective date collision (#35244) 5 months ago
tombstone_spec.rb Add model spec for `Tombstone` (#32697) 1 year ago
user_role_spec.rb Update user role position range limit (#33349) 11 months ago
user_settings_spec.rb Fix `RSpec/DescribedClass` cop (#29472) 2 years ago
user_spec.rb Merge commit from fork 1 month ago
webauthn_credential_spec.rb Simplify `WebauthnCredential` constant limit math (#35107) 5 months ago
webhook_spec.rb Extract secret size constants in `Webhook` model (#35104) 5 months ago