mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-30 22:08:49 +01:00
add functional tests for recurring todos
includes a test for rec todos with due date in future and show_from in past
This commit is contained in:
parent
b076ae46f8
commit
666f524b16
3 changed files with 142 additions and 20 deletions
|
|
@ -3,7 +3,7 @@ module AuthenticatedTestHelper
|
|||
def login_as(user)
|
||||
@request.session['user_id'] = user ? users(user).id : nil
|
||||
end
|
||||
|
||||
|
||||
def content_type(type)
|
||||
@request.env['Content-Type'] = type
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue