method

round_time_arguments

round_time_arguments(argument)
private

No documentation available.

# File activejob/lib/active_job/test_helper.rb, line 638
      def round_time_arguments(argument)
        case argument
        when Time, ActiveSupport::TimeWithZone, DateTime
          argument.change(usec: 0)
        when Hash
          argument.transform_values { |value| round_time_arguments(value) }
        when Array
          argument.map { |element| round_time_arguments(element) }
        else
          argument
        end
      end