mastodon/spec/models
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975)
2024-04-18 10:13:35 +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 Use Sidekiq `fake!` instead of `inline!` in specs (#25369) 2024-01-10 11:06:58 +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 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_conversation_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
account_domain_block_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
account_filter_spec.rb Autofix Rubocop RSpec/MatchArray (#24675) 2023-04-26 21:29:36 +02:00
account_migration_spec.rb Fix `RSpec/SubjectDeclaration` cop (#25312) 2023-07-12 09:49:33 +02:00
account_spec.rb Fix `RSpec/DescribedClass` cop (#29472) 2024-03-13 15:42:39 +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 Models specs coverage (#23940) 2023-03-04 16:43:47 +01:00
announcement_spec.rb Announcement reactions query spec improvement and refactor (#28768) 2024-01-17 09:18:13 +00:00
appeal_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
block_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02: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 Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01: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 Use normalizes to prepare CustomEmoji `domain` value (#28624) 2024-01-08 11:20:59 +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 Fix RSpec/MissingExampleGroupArgument cop (#25310) 2023-06-06 15:51:42 +02:00
export_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
extended_description_spec.rb Models specs coverage (#23940) 2023-03-04 16:43:47 +01:00
favourite_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
follow_request_spec.rb Fix `RSpec/MessageSpies` cop (#27751) 2023-11-07 09:46:28 +00:00
follow_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02: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 Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02: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 Improve `IpBlock` model test coverage (#29460) 2024-03-01 16:17:40 +00:00
marker_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
media_attachment_spec.rb Reduce `RSpec/MultipleExpectations` in media_attachment spec (#29228) 2024-02-16 13:00:09 +00:00
mention_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
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 Add notification policies and notification requests in web UI (#29433) 2024-03-11 15:02:21 +00:00
notification_spec.rb Misc coverage improvements re: sidekiq/inline (#28651) 2024-01-09 09:40:08 +00:00
one_time_key_spec.rb Misc coverage improvements for validators (#23928) 2023-03-04 17:00:00 +01:00
poll_spec.rb Add spec for poll model (#23399) 2023-10-17 14:56:24 +02:00
poll_vote_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
preview_card_provider_spec.rb Models specs coverage (#23940) 2023-03-04 16:43:47 +01:00
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 Fix RSpec/ContextWording cop (#24739) 2023-05-04 05:49:08 +02:00
report_filter_spec.rb Update rubocop and rubocop-rspec (#26329) 2023-08-22 09:31:40 +02:00
report_spec.rb Fix already-invalid reports failing to resolve (#29027) 2024-02-06 09:35:27 +00:00
rule_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01: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 Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01: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 Clean up `tagged_with_*` Status specs, fix `RSpec/LetSetup` cop (#28462) 2023-12-22 08:32:27 +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 Add `not_featured_by` scope to Tag (#28815) 2024-04-17 10:05:38 +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 Use composable query in `User.active` scope (#29775) 2024-04-08 13:53:49 +00:00
webauthn_credentials_spec.rb Fix `Lint/UselessAssignment` cop (#27472) 2023-10-19 16:55:06 +02:00
webhook_spec.rb Use `normalizes` to prepare `Webhook#events` value (#27605) 2023-11-13 22:47:44 +00:00