my spec suite has been playing up attempting to clean some stuff by avoiding type checks

This commit is contained in:
Sam
2013-06-28 12:18:04 +10:00
parent 4512956c68
commit 966513a66d
2 changed files with 8 additions and 5 deletions

View File

@ -106,7 +106,7 @@ class PostCreator
post.topic.update_attributes(attrs)
# Update topic user data
TopicUser.change(post.user,
TopicUser.change(post.user.id,
post.topic.id,
posted: true,
last_read_post_number: post.post_number,