mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-23 07:34:08 +01:00
remove vendored gem and fix state model. Some old hacks did not work anymore on the newer aasm. reverted the hacks and fixed some tests
This commit is contained in:
parent
1cf5967eb5
commit
056dbf08a7
37 changed files with 43 additions and 2618 deletions
|
|
@ -160,7 +160,6 @@ class ProjectTest < ActiveSupport::TestCase
|
|||
assert_equal 1, @timemachine.deferred_todos.count
|
||||
assert_equal 0, @moremoney.deferred_todos.count
|
||||
@moremoney.todos[0].show_from = next_week
|
||||
@moremoney.todos[0].save
|
||||
assert_equal :deferred, @moremoney.todos[0].aasm_current_state
|
||||
assert_equal 1, @moremoney.deferred_todos.count
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue