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:
Reinier Balt 2011-06-10 14:28:42 +02:00
parent 1cf5967eb5
commit 056dbf08a7
37 changed files with 43 additions and 2618 deletions

View file

@ -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