fix spec, I don't agree with allowing mods and staff to edit this

This commit is contained in:
Sam 2014-08-15 12:56:03 +10:00
parent 0e5ab97a87
commit 347aa343b0
1 changed files with 4 additions and 4 deletions

View File

@ -1687,12 +1687,12 @@ describe Guardian do
Guardian.new(user).can_edit_email?(user).should be_false
end
it "is true for admins" do
Guardian.new(admin).can_edit_email?(user).should be_true
it "is false for admins" do
Guardian.new(admin).can_edit_email?(user).should be_false
end
it "is true for moderators" do
Guardian.new(moderator).can_edit_email?(user).should be_true
it "is false for moderators" do
Guardian.new(moderator).can_edit_email?(user).should be_false
end
end