mirror of
https://github.com/discourse/discourse.git
synced 2025-09-11 21:04:42 +08:00
FEATURE: new bootstrap mode settings for brand new Discourse community (#4193)
* FEATURE: new bootstrap mode settings for brand new Discourse community * new SiteSetting.set_and_log method
This commit is contained in:
parent
6c5548c2e4
commit
74b3807f60
15 changed files with 157 additions and 7 deletions
|
@ -77,9 +77,8 @@ describe UploadsController do
|
|||
end
|
||||
|
||||
it 'correctly sets retain_hours for admins' do
|
||||
Jobs.expects(:enqueue).with(:create_thumbnails, anything)
|
||||
|
||||
log_in :admin
|
||||
Jobs.expects(:enqueue).with(:create_thumbnails, anything)
|
||||
|
||||
message = MessageBus.track_publish do
|
||||
xhr :post, :create, file: logo, retain_hours: 100, type: "profile_background"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue