Logo: Relish

  1. Sign in

Project: Acceptance-tests

Gather dates from the Working Day Calendar

  • @calendar_get_dates
Scenarios
Gather the bring forward and cancellation dates from the Working Day Calendar (start date is a working day)
Given
the start date is "2016-10-28"
And
the expected bring forward date is "2016-11-18"
And
the expected cancellation date is "2016-11-28"
When
the the bring forward and cancellation dates are gathered from the Calendar
Then
the correct bring forward date has been returned
And
the correct cancellation date has been returned
Gather the bring forward and cancellation dates from the Working Day Calendar (start date is a non-working day)
Given
the start date is "2016-11-05"
And
the expected bring forward date is "2016-11-25"
And
the expected cancellation date is "2016-12-05"
When
the the bring forward and cancellation dates are gathered from the Calendar
Then
the correct bring forward date has been returned
And
the correct cancellation date has been returned

Last published over 3 years ago by Matthew Thomas.