mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 00:08:50 +01:00
add test for #1068
This commit is contained in:
parent
72b2d4dfc9
commit
6744a22633
2 changed files with 51 additions and 3 deletions
|
|
@ -110,9 +110,9 @@ class RecurringTodosControllerTest < ActionController::TestCase
|
|||
@yearly.every_other1 = target_date.day
|
||||
@yearly.every_other2 = target_date.month
|
||||
@yearly.show_from_delta = 10
|
||||
# unless @yearly.valid?
|
||||
# @yearly.errors.each {|obj, error| puts error}
|
||||
# end
|
||||
# unless @yearly.valid?
|
||||
# @yearly.errors.each {|obj, error| puts error}
|
||||
# end
|
||||
assert @yearly.save
|
||||
|
||||
# toggle twice to force generation of new todo
|
||||
|
|
@ -236,4 +236,5 @@ class RecurringTodosControllerTest < ActionController::TestCase
|
|||
assert_equal "due_date", recurring_todo.target
|
||||
assert_equal true, recurring_todo.show_always?
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue