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))