Remove redundant promoter name from user feedback

Feedbacks already keep track of who created them so it doesn't need to
be in the body too
This commit is contained in:
Toks
2014-04-30 21:18:18 -04:00
parent 76d1f0a66b
commit 055d0eecd3
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ class UserTest < ActiveSupport::TestCase
@user.promote_to!(User::Levels::GOLD)
end
assert_equal("Promoted by #{CurrentUser.user.name} from Member to Gold", @user.feedback.last.body)
assert_equal("Promoted from Member to Gold", @user.feedback.last.body)
end
should "create a dmail" do