diff options
Diffstat (limited to 'spec/support/helpers/features/iteration_helpers.rb')
-rw-r--r-- | spec/support/helpers/features/iteration_helpers.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/support/helpers/features/iteration_helpers.rb b/spec/support/helpers/features/iteration_helpers.rb new file mode 100644 index 00000000000..8e1d252f55f --- /dev/null +++ b/spec/support/helpers/features/iteration_helpers.rb @@ -0,0 +1,6 @@ +# frozen_string_literal: true +module IterationHelpers + def iteration_period(iteration) + "#{iteration.start_date.to_s(:medium)} - #{iteration.due_date.to_s(:medium)}" + end +end |