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

@@ -152,7 +152,7 @@ class BanTest < ActiveSupport::TestCase
ban = Factory.create(:ban, :user => user, :banner => admin)
CurrentUser.user = nil
assert(!user.feedback.empty?)
assert(!user.feedback.last.is_positive?)
assert_equal("negative", user.feedback.last.category)
end
end