mastodon/spec/models
Matt Jankowski 848b59c8ae
Reduce factory creation in `MediaAttachment` model spec (#31058)
2024-07-18 15:23:46 +00:00
..
account Fix `RSpec/VerifiedDoubles` cop (#25469) 2023-06-22 14:55:22 +02:00
account_suggestions Revert friends-of-friends follow recommendation query to using a CTE (#29619) 2024-03-18 12:57:21 +00:00
admin Rename jobs/attachments rspec tag names (#29762) 2024-07-08 16:01:08 +00:00
concerns Use Rails `upsert` to generate update_count! query in Counters concern (#28738) 2024-04-17 08:16:51 +00:00
form Use enum-generated scopes/queries for `BulkImport` (#29975) 2024-04-18 10:13:35 +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
web Fix `RSpec/EmptyExampleGroup` cop (#24735) 2023-07-28 23:15:33 +02:00
account_conversation_spec.rb
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
account_migration_spec.rb Fix `RSpec/SubjectDeclaration` cop (#25312) 2023-07-12 09:49:33 +02:00
account_spec.rb Add assertion about key columns to account key generate spec (#30635) 2024-07-15 10:42:18 +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
announcement_spec.rb Announcement reactions query spec improvement and refactor (#28768) 2024-01-17 09:18:13 +00:00
appeal_spec.rb Extract `TEXT_LENGTH_LIMIT` constant in `Appeal` class (#30638) 2024-06-10 15:23:17 +00:00
block_spec.rb
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
custom_emoji_category_spec.rb
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 Rename jobs/attachments rspec tag names (#29762) 2024-07-08 16:01:08 +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 Use `normalizes` on `CustomFilter#context` value (#27602) 2024-03-13 08:50:21 +00:00
domain_allow_spec.rb Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock (#28803) 2024-01-18 16:11:04 +00:00
domain_block_spec.rb Fix `Naming/VariableNumber` cop (#27447) 2023-10-18 14:26:22 +02:00
email_domain_block_spec.rb
export_spec.rb
extended_description_spec.rb
favourite_spec.rb
follow_request_spec.rb Fix `RSpec/MessageSpies` cop (#27751) 2023-11-07 09:46:28 +00:00
follow_spec.rb Use fabricator in follow_spec (#30642) 2024-06-11 06:57:09 +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 Remove duplicate fabricator validity checks (#29667) 2024-06-11 07:48:42 +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 Improve `IpBlock` model test coverage (#29460) 2024-03-01 16:17:40 +00:00
marker_spec.rb
media_attachment_spec.rb Reduce factory creation in `MediaAttachment` model spec (#31058) 2024-07-18 15:23:46 +00:00
mention_spec.rb
notification_policy_spec.rb Add notification policies and notification requests in web UI (#29433) 2024-03-11 15:02:21 +00:00
notification_request_spec.rb Destroy `NotificationRequest`s that are dismissed (#31008) 2024-07-12 12:09:52 +00:00
notification_spec.rb Add experimental server-side notification grouping (#29889) 2024-06-03 08:35:59 +00:00
one_time_key_spec.rb
poll_spec.rb Remove duplicate fabricator validity checks (#29667) 2024-06-11 07:48:42 +00:00
poll_vote_spec.rb
preview_card_provider_spec.rb
preview_card_spec.rb Validate allowed schemes on preview card URLs (#27485) 2023-10-23 09:50:02 +02:00
privacy_policy_spec.rb Fix `RSpec/DescribedClass` cop (#29472) 2024-03-13 15:42:39 +00:00
public_feed_spec.rb Fix `RSpec/InstanceVariable` cop (#27766) 2023-11-08 15:42:30 +00:00
relationship_filter_spec.rb Fix crash when filtering for “dormant” relationships (#27306) 2023-10-06 12:58:16 +02:00
relationship_severance_event_spec.rb Add notifications of severed relationships (#27511) 2024-03-20 15:37:21 +00:00
remote_follow_spec.rb
report_filter_spec.rb Update rubocop and rubocop-rspec (#26329) 2023-08-22 09:31:40 +02:00
report_spec.rb Match report validation spec to extracted constant (#30633) 2024-06-10 15:04:01 +00:00
rule_spec.rb
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
software_update_spec.rb Add admin notifications for new Mastodon versions (#26582) 2023-09-01 17:47:07 +02:00
status_edit_spec.rb
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 Remove erroneous service type on `TagFeed` model spec (#29302) 2024-02-21 11:25:33 +00:00
tag_spec.rb Fix hashtag matching pattern matching some link anchors (#30190) 2024-05-06 12:47:19 +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 Rename jobs/attachments rspec tag names (#29762) 2024-07-08 16:01:08 +00:00
webauthn_credential_spec.rb Extract `SIGN_COUNT_LIMIT` constant in `WebauthnCredential` class (#30636) 2024-06-11 15:36:21 +00:00
webhook_spec.rb Use `normalizes` to prepare `Webhook#events` value (#27605) 2023-11-13 22:47:44 +00:00