mastodon/spec/models
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912)
2024-11-15 15:52:37 +00:00
..
account
account_suggestions Fix in memoriam accounts appearing in follow recommendations (#31474) 2024-08-19 15:55:42 +00:00
admin Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
concerns Prepare the way for banning a bunch of usernames (#32856) 2024-11-12 15:43:55 +00:00
form Explore more resplendent model validation specs for `Form::AdminSettings` (#32465) 2024-10-24 12:44:13 +00:00
trends
user_settings
web
account_alias_spec.rb Add coverage for `AccountAlias` validations (#31936) 2024-10-23 06:39:19 +00:00
account_conversation_spec.rb
account_deletion_request_spec.rb Add coverage for `AccountDeletionRequest` class (#31937) 2024-09-18 13:29:57 +00:00
account_domain_block_spec.rb Check both before/after state in `AccountDomainBlock` spec (#30640) 2024-06-11 13:59:56 +00:00
account_filter_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
account_migration_spec.rb Simplify model validation specs for `AccountMigration` (#32494) 2024-10-25 08:02:13 +00:00
account_moderation_note_spec.rb Simplify model validation spec in AccountModerationNote/ReportNote (#31792) 2024-10-24 12:52:38 +00:00
account_spec.rb Move account silence-related methods to concern (#28866) 2024-11-11 08:29:55 +00:00
account_statuses_cleanup_policy_spec.rb Simplify model validation specs for `AccountStatusCleanupPolicy` (#32495) 2024-10-25 08:41:24 +00:00
account_warning_preset_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
account_warning_spec.rb Add coverage for model normalizations (#31734) 2024-09-04 05:12:40 +00:00
announcement_spec.rb Simplify model validation specs for `Announcement` (#32481) 2024-10-23 07:47:46 +00:00
appeal_spec.rb Top off coverage for `Appeal` model (#32464) 2024-10-23 06:42:57 +00:00
block_spec.rb Expand coverage for `Block` model (#32480) 2024-10-15 13:30:17 +00:00
bookmark_spec.rb Add coverage for `Bookmark` validation and reblog/status check callback (#31907) 2024-09-16 07:52:22 +00:00
bulk_import_spec.rb Add age/expiry duration constants to `BulkImport` class (#32839) 2024-11-12 08:57:06 +00:00
canonical_email_block_spec.rb
conversation_spec.rb
custom_emoji_category_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
custom_emoji_filter_spec.rb
custom_emoji_spec.rb Add validation coverage for `CustomEmoji` shortcode value (#31906) 2024-09-16 07:53:03 +00:00
custom_filter_keyword_spec.rb Add `CustomFilterKeyword#to_regex` method (#28893) 2024-01-25 13:00:34 +00:00
custom_filter_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
domain_allow_spec.rb Simplify model validation specs for `DomainAllow` (#32496) 2024-10-25 08:42:14 +00:00
domain_block_spec.rb Reinforce coverage for `DomainBlock` model (#32473) 2024-10-14 12:51:01 +00:00
email_domain_block_spec.rb
export_spec.rb Extract `ExportSummary` class for account object counts (#32227) 2024-10-03 13:09:58 +00:00
extended_description_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
favourite_spec.rb
featured_tag_spec.rb Avoid latest featured tag use on post removal unless necessary (#32787) 2024-11-06 10:51:54 +00:00
follow_request_spec.rb
follow_spec.rb Fortify coverage for `Follow` model (#32472) 2024-10-23 07:46:55 +00:00
home_feed_spec.rb Remove caching in `cache_collection` (#29862) 2024-04-08 13:46:13 +00:00
identity_spec.rb Merge pull request from GHSA-vm39-j3vx-pch3 2024-02-14 15:16:07 +01:00
import_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
instance_spec.rb Add specs for `Instance` model scopes and add `with_domain_follows` scope (#28767) 2024-01-25 15:28:27 +00:00
invite_spec.rb
ip_block_spec.rb Simplify uniqueness validation spec for `IpBlock` (#32066) 2024-10-24 12:43:40 +00:00
list_account_spec.rb Remove `follow` creation from `ListAccount` fabricator (#31902) 2024-09-16 08:56:40 +00:00
list_spec.rb Fix list creation limit check (#32869) 2024-11-13 10:22:11 +00:00
marker_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
media_attachment_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
mention_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
notification_policy_spec.rb Fix notification requests from suspended accounts still being listed (#32354) 2024-10-09 17:29:02 +00:00
notification_request_spec.rb Change notification requests to only count mentions (#31322) 2024-08-07 11:12:36 +00:00
notification_spec.rb Combine assertions in `Notification` model spec (#32015) 2024-09-23 10:45:34 +00:00
poll_spec.rb Extend spec coverage for `Poll` model (#32500) 2024-10-15 12:48:10 +00:00
poll_vote_spec.rb
preview_card_provider_spec.rb Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern (#31988) 2024-09-20 08:51:37 +00:00
preview_card_spec.rb Simplify model validation specs for `PreviewCard` (#32469) 2024-10-25 07:55:33 +00:00
preview_card_trend_spec.rb Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 2024-10-29 15:46:32 +00:00
privacy_policy_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
public_feed_spec.rb Reduce factory creation (73 -> 64) in `PublicFeed` spec (#32491) 2024-10-15 13:10:29 +00:00
relationship_filter_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
relationship_severance_event_spec.rb Add notifications of severed relationships (#27511) 2024-03-20 15:37:21 +00:00
relay_spec.rb Add coverage for model normalizations (#31734) 2024-09-04 05:12:40 +00:00
remote_follow_spec.rb
report_filter_spec.rb Add `relevant_params` to ReportFilter (matches account filter) (#32136) 2024-10-02 13:24:40 +00:00
report_note_spec.rb Simplify model validation spec in AccountModerationNote/ReportNote (#31792) 2024-10-24 12:52:38 +00:00
report_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
rule_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
scheduled_status_spec.rb Add Specs for Scheduled Status Model Validations (#30585) 2024-06-10 14:52:33 +00:00
session_activation_spec.rb
setting_spec.rb Clean up `Setting` model and remove dead code (#28661) 2024-01-09 14:01:53 +00:00
severed_relationship_spec.rb Add notifications of severed relationships (#27511) 2024-03-20 15:37:21 +00:00
site_upload_spec.rb
software_update_spec.rb Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods (#32876) 2024-11-14 14:03:57 +00:00
status_edit_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
status_pin_spec.rb Enhance coverage for `StatusPin` model (#32515) 2024-10-28 07:34:58 +00:00
status_spec.rb Use `likes` and `shares` totalItems on status creations and updates (#32620) 2024-10-28 04:55:18 +00:00
status_trend_spec.rb Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 2024-10-29 15:46:32 +00:00
tag_feed_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
tag_spec.rb Add `Reviewable` model concern (#31152) 2024-09-03 15:37:45 +00:00
tombstone_spec.rb Add model spec for `Tombstone` (#32697) 2024-10-31 13:27:47 +00:00
user_role_spec.rb Fix `RSpec/DescribedClass` cop (#29472) 2024-03-13 15:42:39 +00:00
user_settings_spec.rb Fix `RSpec/DescribedClass` cop (#29472) 2024-03-13 15:42:39 +00:00
user_spec.rb Fix logic in "last used at per application" oauth token list (#32912) 2024-11-15 15:52:37 +00:00
webauthn_credential_spec.rb Simplify model validation specs for `WebauthnCredential` (#32466) 2024-10-25 07:55:45 +00:00
webhook_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00