Revert "DEV: Queue jobs in tests by default."

Too risky for now

This reverts commit be28154d3b9289a249d413d462705cd075375888.
This commit is contained in:
Guo Xiang Tan
2018-05-31 15:34:46 +08:00
parent 2b783997fa
commit 56e9ff6853
42 changed files with 79 additions and 75 deletions

View File

@ -163,7 +163,6 @@ describe WatchedWord do
end
it "flags on revisions" do
SiteSetting.queue_jobs = false
post = Fabricate(:post, topic: Fabricate(:topic, user: tl2_user), user: tl2_user)
expect {
PostRevisor.new(post).revise!(post.user, { raw: "Want some #{flag_word.word} for cheap?" }, revised_at: post.updated_at + 10.seconds)