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:
Jeff Atwood
2013-04-17 16:11:13 -07:00
parent 9add8a74aa
commit b64a4100fa
21 changed files with 106 additions and 106 deletions

View File

@ -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