From 47d0364dbd61c895e3cebe3cda3205d77e56475a Mon Sep 17 00:00:00 2001 From: Carsten Otto Date: Sun, 10 May 2015 14:11:08 +0200 Subject: [PATCH] fix test every_other3 encodes 1:first to 4:fourth and 5:last weekday of month every_other2 encodes every nth month --- .../recurring_todos/monthly_recurrence_pattern_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/models/recurring_todos/monthly_recurrence_pattern_test.rb b/test/models/recurring_todos/monthly_recurrence_pattern_test.rb index a84eb810..40296b01 100644 --- a/test/models/recurring_todos/monthly_recurrence_pattern_test.rb +++ b/test/models/recurring_todos/monthly_recurrence_pattern_test.rb @@ -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