mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-03 15:58:50 +01:00
fix failing tests
not sure if the to_a fixes to get collections from activerecord is the right way
This commit is contained in:
parent
35cab99cea
commit
2430fcb906
5 changed files with 11 additions and 7 deletions
|
|
@ -9,6 +9,10 @@ class TodoTest < ActiveSupport::TestCase
|
|||
@completed = Todo.find(8).reload
|
||||
end
|
||||
|
||||
def next_week
|
||||
1.week.from_now.beginning_of_day.to_s(:db)
|
||||
end
|
||||
|
||||
# Test loading a todo item
|
||||
def test_load
|
||||
assert_kind_of Todo, @not_completed1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue