mastodon/spec/models
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern (#31988)
2024-09-20 08:51:37 +00:00
..
account Fix `RSpec/VerifiedDoubles` cop (#25469) 2023-06-22 14:55:22 +02:00
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 Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
form Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
trends Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2023-06-14 16:44:37 +02:00
user_settings Fix minor typos in comments and spec names (#21831) 2023-05-19 17:13:29 +02:00
web Fix `RSpec/EmptyExampleGroup` cop (#24735) 2023-07-28 23:15:33 +02:00
account_alias_spec.rb Add coverage for model normalizations (#31734) 2024-09-04 05:12:40 +00:00
account_conversation_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
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 Add coverage for model normalizations (#31734) 2024-09-04 05:12:40 +00:00
account_moderation_note_spec.rb Fix sort order of moderation notes on Reports and Accounts (#31528) 2024-09-06 14:58:36 +00:00
account_spec.rb Strip protocol from attribution domains (#31900) 2024-09-13 11:37:15 +00:00
account_statuses_cleanup_policy_spec.rb Reduce factory creation in `spec/models/account_statuses_cleanup_policy` (#28361) 2024-01-25 13:37:25 +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 basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
appeal_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
block_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
bookmark_spec.rb Add coverage for `Bookmark` validation and reblog/status check callback (#31907) 2024-09-16 07:52:22 +00:00
canonical_email_block_spec.rb Clean up of `RSpec/LetSetup` within `spec/models` (#28444) 2023-12-21 09:18:38 +00:00
conversation_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
custom_emoji_category_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
custom_emoji_filter_spec.rb Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2023-06-14 16:44:37 +02:00
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 basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
domain_block_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
email_domain_block_spec.rb Fix RSpec/MissingExampleGroupArgument cop (#25310) 2023-06-06 15:51:42 +02:00
export_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +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 Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
featured_tag_spec.rb Add `FeaturedTag` coverage, use `pick` in model (#31828) 2024-09-09 19:57:19 +00:00
follow_request_spec.rb Fix `RSpec/MessageSpies` cop (#27751) 2023-11-07 09:46:28 +00:00
follow_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +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 Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
ip_block_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
list_account_spec.rb Remove `follow` creation from `ListAccount` fabricator (#31902) 2024-09-16 08:56:40 +00:00
list_spec.rb Add coverage for title/limit validations in `List` model (#31869) 2024-09-12 13:25:23 +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 Change notification requests to only count mentions (#31322) 2024-08-07 11:12:36 +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 Add experimental server-side notification grouping (#29889) 2024-06-03 08:35:59 +00:00
poll_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
poll_vote_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
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 Increase preview card image size limit from 2MB to 8MB when using libvips (#31904) 2024-09-14 00:16:02 +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 Fix `RSpec/InstanceVariable` cop (#27766) 2023-11-08 15:42:30 +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 Fix RSpec/ContextWording cop (#24739) 2023-05-04 05:49:08 +02:00
report_filter_spec.rb Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
report_note_spec.rb Fix sort order of moderation notes on Reports and Accounts (#31528) 2024-09-06 14:58:36 +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 Fix `RSpec/MessageChain` cop (#27776) 2023-11-09 12:57:23 +00:00
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 Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
software_update_spec.rb Add admin notifications for new Mastodon versions (#26582) 2023-09-01 17:47:07 +02: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 Reduce `.times` usage in `StatusPin` and add `PIN_LIMIT` constant in validator (#27945) 2023-11-20 09:07:25 +00:00
status_spec.rb Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API (#30932) 2024-07-08 07:41:50 +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
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 Update dependency devise-two-factor to v6 [SECURITY] (#31957) 2024-09-19 10:56:09 +00:00
webauthn_credential_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00
webhook_spec.rb Simplify basic presence validations (#29664) 2024-09-05 15:36:05 +00:00