From 7003ea96be7fce65367c98222b076dd59a78e76b Mon Sep 17 00:00:00 2001 From: Bianca Nenciu Date: Thu, 14 Feb 2019 16:56:06 +0200 Subject: [PATCH] FIX: Fix failing test. --- spec/models/site_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/site_spec.rb b/spec/models/site_spec.rb index 5576a48dab7..6c89dcab1e6 100644 --- a/spec/models/site_spec.rb +++ b/spec/models/site_spec.rb @@ -74,7 +74,7 @@ describe Site do expect(site.groups.pluck(:name)).to eq(["moderators"]) 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) site = Site.new(Guardian.new(admin))