Remove references to elder

The use of the TL4 name Elder was changed in 2014 to Leader.  The spec function was changed to `:trust_level_4`, but the it statement was not changed.
This commit is contained in:
jomaxro 2017-02-26 17:40:42 -07:00 committed by GitHub
parent 7e8f0dc967
commit f5673fbd47
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ describe Validators::PostValidator do
expect(post.errors.count).to be > 0
end
it "should be invalid when elder user exceeds max mentions limit" do
it "should be invalid when leader user exceeds max mentions limit" do
post.acting_user = build(:trust_level_4)
post.expects(:raw_mentions).returns(['jake', 'finn', 'jake_old', 'jake_new'])
validator.max_mention_validator(post)
@ -85,7 +85,7 @@ describe Validators::PostValidator do
expect(post.errors.count).to be(0)
end
it "should be valid when elder user does not exceed max mentions limit" do
it "should be valid when leader user does not exceed max mentions limit" do
post.acting_user = build(:trust_level_4)
post.expects(:raw_mentions).returns(['jake', 'finn', 'jake_old'])
validator.max_mention_validator(post)