You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/models
Claire d41b43ed4f
Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API (#30932)
6 months ago
..
account Fix `RSpec/VerifiedDoubles` cop (#25469) 2 years ago
account_suggestions Revert friends-of-friends follow recommendation query to using a CTE (#29619) 10 months ago
admin Use `sidekiq_inline` in admin/account_action model spec (#30565) 7 months ago
concerns Use Rails `upsert` to generate update_count! query in Counters concern (#28738) 9 months ago
form Use enum-generated scopes/queries for `BulkImport` (#29975) 9 months ago
trends Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2 years ago
user_settings Fix minor typos in comments and spec names (#21831) 2 years ago
web Fix `RSpec/EmptyExampleGroup` cop (#24735) 1 year ago
account_conversation_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2 years ago
account_domain_block_spec.rb Check both before/after state in `AccountDomainBlock` spec (#30640) 7 months ago
account_filter_spec.rb Autofix Rubocop RSpec/MatchArray (#24675) 2 years ago
account_migration_spec.rb Fix `RSpec/SubjectDeclaration` cop (#25312) 1 year ago
account_spec.rb Reference constants from account validation specs (#30634) 7 months ago
account_statuses_cleanup_policy_spec.rb Reduce factory creation in `spec/models/account_statuses_cleanup_policy` (#28361) 11 months ago
account_warning_preset_spec.rb Models specs coverage (#23940) 2 years ago
announcement_spec.rb Announcement reactions query spec improvement and refactor (#28768) 12 months ago
appeal_spec.rb Extract `TEXT_LENGTH_LIMIT` constant in `Appeal` class (#30638) 7 months ago
block_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2 years ago
canonical_email_block_spec.rb Clean up of `RSpec/LetSetup` within `spec/models` (#28444) 1 year ago
conversation_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2 years ago
custom_emoji_category_spec.rb Pending example models minimal coverage (#23912) 2 years ago
custom_emoji_filter_spec.rb Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2 years ago
custom_emoji_spec.rb Fix Mastodon relying on ImageMagick even with `MASTODON_USE_LIBVIPS` (#30590) 7 months ago
custom_filter_keyword_spec.rb Add `CustomFilterKeyword#to_regex` method (#28893) 11 months ago
custom_filter_spec.rb Use `normalizes` on `CustomFilter#context` value (#27602) 10 months ago
domain_allow_spec.rb Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock (#28803) 12 months ago
domain_block_spec.rb Fix `Naming/VariableNumber` cop (#27447) 1 year ago
email_domain_block_spec.rb Fix RSpec/MissingExampleGroupArgument cop (#25310) 2 years ago
export_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2 years ago
extended_description_spec.rb Models specs coverage (#23940) 2 years ago
favourite_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2 years ago
follow_request_spec.rb Fix `RSpec/MessageSpies` cop (#27751) 1 year ago
follow_spec.rb Use fabricator in follow_spec (#30642) 7 months ago
home_feed_spec.rb Remove caching in `cache_collection` (#29862) 9 months ago
identity_spec.rb Merge pull request from GHSA-vm39-j3vx-pch3 11 months ago
import_spec.rb Remove duplicate fabricator validity checks (#29667) 7 months ago
instance_spec.rb Add specs for `Instance` model scopes and add `with_domain_follows` scope (#28767) 11 months ago
invite_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2 years ago
ip_block_spec.rb Improve `IpBlock` model test coverage (#29460) 10 months ago
marker_spec.rb Pending example models minimal coverage (#23912) 2 years ago
media_attachment_spec.rb Use vips setting instead of env var in media processing spec (#30859) 6 months ago
mention_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2 years ago
notification_policy_spec.rb Add notification policies and notification requests in web UI (#29433) 10 months ago
notification_request_spec.rb Add notification policies and notification requests in web UI (#29433) 10 months ago
notification_spec.rb Add experimental server-side notification grouping (#29889) 7 months ago
one_time_key_spec.rb Misc coverage improvements for validators (#23928) 2 years ago
poll_spec.rb Remove duplicate fabricator validity checks (#29667) 7 months ago
poll_vote_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2 years ago
preview_card_provider_spec.rb Models specs coverage (#23940) 2 years ago
preview_card_spec.rb Validate allowed schemes on preview card URLs (#27485) 1 year ago
privacy_policy_spec.rb Fix `RSpec/DescribedClass` cop (#29472) 10 months ago
public_feed_spec.rb Fix `RSpec/InstanceVariable` cop (#27766) 1 year ago
relationship_filter_spec.rb Fix crash when filtering for “dormant” relationships (#27306) 1 year ago
relationship_severance_event_spec.rb Add notifications of severed relationships (#27511) 10 months ago
remote_follow_spec.rb Fix RSpec/ContextWording cop (#24739) 2 years ago
report_filter_spec.rb Update rubocop and rubocop-rspec (#26329) 1 year ago
report_spec.rb Match report validation spec to extracted constant (#30633) 7 months ago
rule_spec.rb Pending example models minimal coverage (#23912) 2 years ago
scheduled_status_spec.rb Add Specs for Scheduled Status Model Validations (#30585) 7 months ago
session_activation_spec.rb Fix `RSpec/MessageChain` cop (#27776) 1 year ago
setting_spec.rb Clean up `Setting` model and remove dead code (#28661) 12 months ago
severed_relationship_spec.rb Add notifications of severed relationships (#27511) 10 months ago
site_upload_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2 years ago
software_update_spec.rb Add admin notifications for new Mastodon versions (#26582) 1 year ago
status_edit_spec.rb Pending example models minimal coverage (#23912) 2 years ago
status_pin_spec.rb Reduce `.times` usage in `StatusPin` and add `PIN_LIMIT` constant in validator (#27945) 1 year ago
status_spec.rb Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API (#30932) 6 months ago
tag_feed_spec.rb Remove erroneous service type on `TagFeed` model spec (#29302) 11 months ago
tag_spec.rb Fix hashtag matching pattern matching some link anchors (#30190) 8 months ago
user_role_spec.rb Fix `RSpec/DescribedClass` cop (#29472) 10 months ago
user_settings_spec.rb Fix `RSpec/DescribedClass` cop (#29472) 10 months ago
user_spec.rb Update `devise-two-factor` to version 5.0.0 (#28325) 8 months ago
webauthn_credential_spec.rb Extract `SIGN_COUNT_LIMIT` constant in `WebauthnCredential` class (#30636) 7 months ago
webhook_spec.rb Use `normalizes` to prepare `Webhook#events` value (#27605) 1 year ago