mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 01:55:46 +08:00
Fix specs.
This commit is contained in:
@ -60,7 +60,7 @@ RSpec.describe "Managing a topic's status update", type: :request do
|
||||
end
|
||||
|
||||
it 'should be able to delete a topic status update' do
|
||||
topic.update!(topic_timers: [Fabricate(:topic_timer)])
|
||||
Fabricate(:topic_timer, topic: topic)
|
||||
|
||||
post "/t/#{topic.id}/timer.json",
|
||||
time: nil,
|
||||
|
Reference in New Issue
Block a user