FIX: Fix failing test.
This commit is contained in:
parent
70adb94008
commit
7003ea96be
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue