From 3516c651c11c0a645247b60a9de0a854a495c723 Mon Sep 17 00:00:00 2001 From: taitus Date: Wed, 30 Aug 2017 13:28:01 +0200 Subject: [PATCH] Fix community particpants spec --- spec/models/community_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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