FIX: Fix failing test.

This commit is contained in:
Bianca Nenciu 2019-02-14 16:56:06 +02:00
parent 70adb94008
commit 7003ea96be
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ describe Site do
expect(site.groups.pluck(:name)).to eq(["moderators"]) expect(site.groups.pluck(:name)).to eq(["moderators"])
group = Fabricate(:group) group = Fabricate(:group)
expect(site.groups.pluck(:name)).to eq([group.name]) expect(site.groups.pluck(:name)).to eq(["moderators", group.name])
admin = Fabricate(:admin) admin = Fabricate(:admin)
site = Site.new(Guardian.new(admin)) site = Site.new(Guardian.new(admin))