mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #4725 from jomaxro/patch-2
Remove references to elder
This commit is contained in:
commit
82595bc1ab
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user