method

deserialize_args_for_assertion

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: TestHelper
deserialize_args_for_assertion(job) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/test_helper.rb, line 651
      def deserialize_args_for_assertion(job)
        job.dup.tap do |new_job|
          new_job[:at] = round_time_arguments(Time.at(new_job[:at])) if new_job[:at]
          new_job[:args] = ActiveJob::Arguments.deserialize(new_job[:args]) if new_job[:args]
        end
      end
Register or log in to add new notes.