diff options
| author | AppleDash <[email protected]> | 2021-02-24 22:37:13 -0500 |
|---|---|---|
| committer | AppleDash <[email protected]> | 2021-02-24 22:37:13 -0500 |
| commit | 6cc342a85ff7f72fbede201ecd5becf74c98d525 (patch) | |
| tree | bbe2a06fbcee04e4ce376467b2bef72ad9d0357e /test/controllers/admin | |
| parent | 334879e24f001539b516438de24a821924f07c8f (diff) | |
Refactor more
Diffstat (limited to 'test/controllers/admin')
| -rw-r--r-- | test/controllers/admin/batch/tags_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/controllers/admin/batch/tags_controller_test.rb b/test/controllers/admin/batch/tags_controller_test.rb index 5b6c042..e8a5d61 100644 --- a/test/controllers/admin/batch/tags_controller_test.rb +++ b/test/controllers/admin/batch/tags_controller_test.rb @@ -16,7 +16,7 @@ class Admin::Batch::TagsControllerTest < ActionController::TestCase test 'should batch add tags' do @images = create_list(:image_skips_validation, 4) - assert_enqueued_with(job: BulkIndexUpdateJob, args: ['Image', @images.map(&:id)]) do + assert_enqueued_with(job: BulkIndexUpdateJob, args: ['Post', @images.map(&:id)]) do put :update, params: { tags: @tags.map(&:name).join(','), image_ids: @images.map(&:id) } assert_response :success assert_equal @images.map(&:id), json_response['succeeded'] |
