One less TODO makes me on little bit more happy

This commit is contained in:
Sam 2014-06-04 11:44:48 +10:00
parent c6c412fd45
commit e307bad89a

View file

@ -15,9 +15,6 @@ describe TopicStatusUpdate do
# PostCreator really should not give back out-of-date Topic
post.topic.reload
# TODO: also annoying PostTiming is not logged
PostTiming.create!(topic_id: post.topic_id, user_id: user.id, post_number: 1, msecs: 0)
admin = Fabricate(:admin)
TopicStatusUpdate.new(post.topic, admin).update!("autoclosed", true)