Updated tests to decrease string repetition

Removed an unused variable
Some minor style changes
This commit is contained in:
Martin Feckie
2013-06-25 22:15:41 +08:00
parent 7d1e8239e0
commit 674e26e6c3
6 changed files with 16 additions and 18 deletions

View File

@@ -75,7 +75,7 @@ describe Group do
end
it "Correctly updates all automatic groups upon request" do
admin = Fabricate(:admin)
Fabricate(:admin)
user = Fabricate(:user)
user.change_trust_level!(:regular)