gitlab-org--gitlab-foss/spec/support/helpers/features/iteration_helpers.rb

6 lines
180 B
Ruby

# frozen_string_literal: true
module IterationHelpers
def iteration_period(iteration)
"#{iteration.start_date.to_s(:medium)} - #{iteration.due_date.to_s(:medium)}"
end
end