mastodon/spec/models
Matt Jankowski c0264c8013
Extend custom CSS cache time with digest paths ()
..
account Fix `RSpec/VerifiedDoubles` cop ()
account_suggestions Fix in memoriam accounts appearing in follow recommendations ()
admin Add role-specific user fabricators ()
concerns Use `nil` instead of `false` for datetime value in spec ()
doorkeeper Refer to constant values from `api/v1/apps` request spec ()
form Extend custom CSS cache time with digest paths ()
trends Change hashtag trends to be stored in the database instead of redis ()
user_settings Fix minor typos in comments and spec names ()
web Fix `RSpec/EmptyExampleGroup` cop ()
account_alias_spec.rb Add coverage for `AccountAlias` validations ()
account_conversation_spec.rb Fix `RSpec/DescribedClass` cop ()
account_deletion_request_spec.rb Add coverage for `AccountDeletionRequest` class ()
account_domain_block_spec.rb Check both before/after state in `AccountDomainBlock` spec ()
account_filter_spec.rb Enable "zero monkey patching" mode in RSpec ()
account_migration_spec.rb Simplify model validation specs for `AccountMigration` ()
account_moderation_note_spec.rb Simplify model validation spec in AccountModerationNote/ReportNote ()
account_pin_spec.rb Add coverage for `AccountPin` model ()
account_spec.rb Reference value constants from specs ()
account_statuses_cleanup_policy_spec.rb Wrap assertions in `change` within `AccountStatusesCleanupPolicy` spec ()
account_summary_spec.rb Use `in_order_of` with `filter: false` in `AccountSummary.localized` ()
account_warning_preset_spec.rb Enable "zero monkey patching" mode in RSpec ()
account_warning_spec.rb Add coverage for model normalizations ()
announcement_spec.rb Simplify model validation specs for `Announcement` ()
appeal_spec.rb Reference value constants from specs ()
block_spec.rb Expand coverage for `Block` model ()
bookmark_spec.rb Add coverage for `Bookmark` validation and reblog/status check callback ()
bulk_import_spec.rb Add age/expiry duration constants to `BulkImport` class ()
canonical_email_block_spec.rb Clean up of `RSpec/LetSetup` within `spec/models` ()
conversation_spec.rb Fix RSpec/InferredSpecType cop ()
custom_emoji_category_spec.rb Simplify basic presence validations ()
custom_emoji_filter_spec.rb Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop ()
custom_emoji_spec.rb Add validation coverage for `CustomEmoji` shortcode value ()
custom_filter_keyword_spec.rb Add `CustomFilterKeyword#to_regex` method ()
custom_filter_spec.rb Add shared example for `Expireable` concern ()
domain_allow_spec.rb Simplify model validation specs for `DomainAllow` ()
domain_block_spec.rb Reinforce coverage for `DomainBlock` model ()
email_domain_block_spec.rb Fix RSpec/MissingExampleGroupArgument cop ()
export_spec.rb Extract `ExportSummary` class for account object counts ()
extended_description_spec.rb Enable "zero monkey patching" mode in RSpec ()
favourite_spec.rb Fix `RSpec/DescribedClass` cop ()
featured_tag_spec.rb Avoid latest featured tag use on post removal unless necessary ()
follow_request_spec.rb Change lists to reflect added and removed users retroactively ()
follow_spec.rb Fortify coverage for `Follow` model ()
home_feed_spec.rb Remove caching in `cache_collection` ()
identity_spec.rb Merge pull request from GHSA-vm39-j3vx-pch3
import_spec.rb Simplify basic presence validations ()
instance_spec.rb Add specs for `Instance` model scopes and add `with_domain_follows` scope ()
invite_spec.rb Add shared example for `Expireable` concern ()
ip_block_spec.rb Add shared example for `Expireable` concern ()
list_account_spec.rb Remove `follow` creation from `ListAccount` fabricator ()
list_spec.rb Fix list creation limit check ()
login_activity_spec.rb Add `LoginActivity` model spec and `BrowserDetection` concern shared example ()
marker_spec.rb Simplify basic presence validations ()
media_attachment_spec.rb Revert "Support animated PNGs in media attachments ()" ()
mention_spec.rb Standardize uniqueness validation declaration on `Mention` ()
mute_spec.rb Add shared example for `Expireable` concern ()
notification_policy_spec.rb Fix notification requests from suspended accounts still being listed ()
notification_request_spec.rb Change notification requests to only count mentions ()
notification_spec.rb Combine assertions in `Notification` model spec ()
poll_spec.rb Remove un-needed `Poll.attached` scope ()
poll_vote_spec.rb Fix RSpec/InferredSpecType cop ()
preview_card_provider_spec.rb Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern ()
preview_card_spec.rb Simplify model validation specs for `PreviewCard` ()
preview_card_trend_spec.rb Add shared example for `RankedTrend` concern ()
privacy_policy_spec.rb Enable "zero monkey patching" mode in RSpec ()
public_feed_spec.rb Reduce factory creation (73 -> 64) in `PublicFeed` spec ()
relationship_filter_spec.rb Enable "zero monkey patching" mode in RSpec ()
relationship_severance_event_spec.rb Add notifications of severed relationships ()
relay_spec.rb Add coverage for model normalizations ()
remote_follow_spec.rb Fix RSpec/ContextWording cop ()
report_filter_spec.rb Add `relevant_params` to ReportFilter (matches account filter) ()
report_note_spec.rb Simplify model validation spec in AccountModerationNote/ReportNote ()
report_spec.rb Simplify model validation specs for `Report` ()
rule_spec.rb Enable "zero monkey patching" mode in RSpec ()
scheduled_status_spec.rb Add Specs for Scheduled Status Model Validations ()
session_activation_spec.rb Add `LoginActivity` model spec and `BrowserDetection` concern shared example ()
setting_spec.rb Clean up `Setting` model and remove dead code ()
severed_relationship_spec.rb Add notifications of severed relationships ()
site_upload_spec.rb Fix `RSpec/DescribedClass` cop ()
software_update_spec.rb Add `urgent` scope and `by_version` method to `SoftwareUpdate` ()
status_edit_spec.rb Enable "zero monkey patching" mode in RSpec ()
status_pin_spec.rb Enhance coverage for `StatusPin` model ()
status_spec.rb Use `likes` and `shares` totalItems on status creations and updates ()
status_trend_spec.rb Add shared example for `RankedTrend` concern ()
tag_feed_spec.rb Enable "zero monkey patching" mode in RSpec ()
tag_spec.rb Add coverage for `Tag` model validations on name/display_name ()
tag_trend_spec.rb Change hashtag trends to be stored in the database instead of redis ()
terms_of_service_spec.rb Add terms of service ()
tombstone_spec.rb Add model spec for `Tombstone` ()
user_role_spec.rb Update user role position range limit ()
user_settings_spec.rb Fix `RSpec/DescribedClass` cop ()
user_spec.rb Add role-specific user fabricators ()
webauthn_credential_spec.rb Simplify model validation specs for `WebauthnCredential` ()
webhook_spec.rb Add role-specific user fabricators ()