mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: add full editing access to queued posts (#5047)
For pending new topics: the body of the post, title, categories and the tags are editable. For pending new replies: only the body is applicable and thus editable DISCUSSION: https://meta.discourse.org/t/66754
This commit is contained in:
@@ -15,3 +15,12 @@ Fabricator(:queued_post) do
|
||||
image_sizes: { "http://foo.bar/image.png" => { "width" => 0, "height" => 222 } } }
|
||||
end
|
||||
end
|
||||
|
||||
Fabricator(:queued_topic, from: :queued_post) do
|
||||
topic nil
|
||||
raw 'This post should be queued up, and more importantly, this is a new topic'
|
||||
post_options do
|
||||
{ category: 1,
|
||||
title: 'This is a new topic' }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user