Fix community particpants spec

This commit is contained in:
taitus
2017-08-30 13:28:01 +02:00
parent 8d0ba0bf5e
commit 3516c651c1

View File

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