Fix community particpants spec
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user