mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
:s/moderator?/staff/g ... our naming was kind of crazy, renamed moderator? to staff
This commit is contained in:
@@ -311,9 +311,9 @@ describe User do
|
||||
user.has_trust_level?(:elder).should be_true
|
||||
end
|
||||
|
||||
it "is a moderator if the user is an admin" do
|
||||
it "is staff if the user is an admin" do
|
||||
user.admin = true
|
||||
user.moderator?.should be_true
|
||||
user.staff?.should be_true
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user