mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 13:51:09 +08:00
change "visitor" trust level to "new user"
I blame me for this mistake.. visitor means other stuff in practice. New User is correct meaning.
This commit is contained in:
@ -326,7 +326,7 @@ describe TopicsController do
|
||||
end
|
||||
|
||||
it "reviews the user for a promotion if they're new" do
|
||||
user.update_column(:trust_level, TrustLevel.levels[:visitor])
|
||||
user.update_column(:trust_level, TrustLevel.levels[:newuser])
|
||||
Promotion.any_instance.expects(:review)
|
||||
get :show, id: topic.id
|
||||
end
|
||||
|
Reference in New Issue
Block a user