diff options
Diffstat (limited to 'test/controllers/admin/batch')
| -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'] |
