mirror of https://github.com/mastodon/mastodon
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. |
3 years ago | |
---|---|---|
.. | ||
activitypub | 3 years ago | |
admin | 3 years ago | |
scheduler | 4 years ago | |
web | 4 years ago | |
digest_mailer_worker_spec.rb | 8 years ago | |
domain_block_worker_spec.rb | 5 years ago | |
domain_clear_media_worker_spec.rb | 5 years ago | |
feed_insert_worker_spec.rb | 3 years ago | |
move_worker_spec.rb | 3 years ago | |
publish_scheduled_announcement_worker_spec.rb | 4 years ago | |
publish_scheduled_status_worker_spec.rb | 6 years ago | |
refollow_worker_spec.rb | 4 years ago | |
regeneration_worker_spec.rb | 8 years ago | |
unfollow_follow_worker_spec.rb | 3 years ago |