Always link post to uploads in post process.

The operation is cheap anyway so no point skipping.
This commit is contained in:
Guo Xiang Tan
2018-09-06 14:08:03 +08:00
parent b6a139b581
commit d4b05d7bc5
5 changed files with 6 additions and 15 deletions

View File

@@ -193,7 +193,6 @@ describe PostCreator do
topic_id = post.topic_id
process_post_args = Jobs::ProcessPost.jobs.first["args"].first
expect(process_post_args["skip_link_post_uploads"]).to eq(true)
expect(process_post_args["post_id"]).to eq(post_id)
feature_topic_users_args = Jobs::FeatureTopicUsers.jobs.first["args"].first