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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user