mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 17:20:12 +01:00
fix test
every_other3 encodes 1:first to 4:fourth and 5:last weekday of month every_other2 encodes every nth month
This commit is contained in:
parent
72f7513650
commit
47d0364dbd
1 changed files with 3 additions and 3 deletions
|
|
@ -104,10 +104,10 @@ module RecurringTodos
|
|||
assert_equal "every last friday of every month", rt.recurrence_pattern
|
||||
|
||||
rt.recurrence_selector = 0
|
||||
assert_equal "every 5 months on day 1", rt.recurrence_pattern
|
||||
|
||||
rt.every_other3 = 1
|
||||
assert_equal "every month on day 1", rt.recurrence_pattern
|
||||
|
||||
rt.every_other2 = 4
|
||||
assert_equal "every 4 months on day 1", rt.recurrence_pattern
|
||||
end
|
||||
|
||||
def test_monthly_pattern
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue