fix specs

This commit is contained in:
r888888888
2014-03-24 14:05:50 -07:00
parent ae5fe58c77
commit 10d652fa9c
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ class ForumPost < ActiveRecord::Base
end
def undelete!
update_attribute(:is_deleted, true)
update_attribute(:is_deleted, false)
update_topic_updated_at_on_create
end