FIX: Topic timers being incorrectly trashed!.

https://meta.discourse.org/t/temporary-timed-closure-of-topic-not-re-opening-topic/67877
This commit is contained in:
Guo Xiang Tan
2017-08-22 15:22:48 +09:00
parent 87994a86ce
commit bc3e43b496
5 changed files with 23 additions and 12 deletions

View File

@ -420,6 +420,7 @@ describe TopicsController do
expect(response).to be_success
expect(@topic.reload.closed).to eq(false)
expect(@topic.topic_timers).to eq([])
body = JSON.parse(response.body)