mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Improve spec coverage for collection of workers/ classes (#27874)
This commit is contained in:
5
spec/fabricators/account_deletion_request_fabricator.rb
Normal file
5
spec/fabricators/account_deletion_request_fabricator.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:account_deletion_request) do
|
||||
account
|
||||
end
|
||||
7
spec/fabricators/import_fabricator.rb
Normal file
7
spec/fabricators/import_fabricator.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:import) do
|
||||
account
|
||||
type :following
|
||||
data { attachment_fixture('imports.txt') }
|
||||
end
|
||||
Reference in New Issue
Block a user