fixed all tests

This commit is contained in:
albert
2011-07-22 19:25:56 -04:00
parent 5d05769c2c
commit 5da43c54f0
6 changed files with 16 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ class Ban < ActiveRecord::Base
def update_feedback
if user
feedback = user.feedback.build
feedback.is_positive = false
feedback.category = "negative"
feedback.body = "Banned: #{reason}"
feedback.creator_id = banner_id
feedback.save