Prepare to drop EmailLog#topic_id.

This commit is contained in:
Guo Xiang Tan
2018-07-18 10:21:54 +08:00
parent dbfa491ee2
commit 3874d40910
4 changed files with 8 additions and 8 deletions

View File

@ -316,7 +316,7 @@ describe Email::Sender do
it 'should create the right log' do
email_sender.send
expect(email_log.post_id).to eq(post.id)
expect(email_log.topic_id).to eq(topic.id)
expect(email_log.topic.id).to eq(topic.id)
end
end