mirror of
https://github.com/mastodon/mastodon
synced 2024-11-30 15:58:14 +09:00
2af03164cb
sidekiq-bulk's push_bulk can either accept arguments directly or run them through a block. Setting expectations on the result of evaluating the blocks allows testing more code (the block itself) and the test is moved closer to the *interface* of the tested code than its precise implementation. |
||
---|---|---|
.. | ||
activitypub | ||
admin | ||
scheduler | ||
web | ||
digest_mailer_worker_spec.rb | ||
domain_block_worker_spec.rb | ||
domain_clear_media_worker_spec.rb | ||
feed_insert_worker_spec.rb | ||
move_worker_spec.rb | ||
publish_scheduled_announcement_worker_spec.rb | ||
publish_scheduled_status_worker_spec.rb | ||
refollow_worker_spec.rb | ||
regeneration_worker_spec.rb | ||
unfollow_follow_worker_spec.rb |