spec/active_job/queue_adapters/sqs_adapter_spec.rb [52:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            end

            it 'adds customized message_deduplication_id' do
              expect(Digest::SHA256).to receive(:hexdigest) do |body|
                ex_dudup_keys_with_job_id.each do |key|
                  expect(body).not_to include(%("#{key}"))
                end
              end.and_return(hashed_body)
              expect(client).to receive(:send_message).with(
                {
                  queue_url: 'https://queue-url.fifo',
                  message_body: instance_of(String),
                  message_attributes: instance_of(Hash),
                  message_group_id: Aws::ActiveJob::SQS.config.message_group_id_for(:default),
                  message_deduplication_id: hashed_body
                }
              )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/active_job/queue_adapters/sqs_adapter_spec.rb [80:96]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            end

            it 'adds customized message_deduplication_id' do
              expect(Digest::SHA256).to receive(:hexdigest) do |body|
                ex_dudup_keys_with_job_id.each do |key|
                  expect(body).not_to include(%("#{key}"))
                end
              end.and_return(hashed_body)
              expect(client).to receive(:send_message).with(
                {
                  queue_url: 'https://queue-url.fifo',
                  message_body: instance_of(String),
                  message_attributes: instance_of(Hash),
                  message_group_id: Aws::ActiveJob::SQS.config.message_group_id_for(:default),
                  message_deduplication_id: hashed_body
                }
              )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



