diff --git a/spec/models/community_spec.rb b/spec/models/community_spec.rb index ce3d118cb..0b8bddfe7 100644 --- a/spec/models/community_spec.rb +++ b/spec/models/community_spec.rb @@ -21,7 +21,7 @@ RSpec.describe Community, type: :model do create(:comment, commentable: topic1, author: user2) topic2 = create(:topic, community: community, author: user2) - expect(community.participants).to eq [user1, user2] + expect(community.participants).to eq [user1, user2, proposal.author] end end end