mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Auto grid images no longer experimental (#29572)
Recently we added a new feature for automatically gridding images in the composer (https://github.com/discourse/discourse/pull/29260). After testing this feature under a setting for a short period of time, the feature is no longer experimental anymore. This PR removes the site setting `experimental_auto_grid_images`.
This commit is contained in:
@@ -160,8 +160,6 @@ describe "Uploading files in the composer", type: :system do
|
||||
end
|
||||
|
||||
context "when multiple images are uploaded" do
|
||||
before { SiteSetting.experimental_auto_grid_images = true }
|
||||
|
||||
it "automatically wraps images in [grid] tags on 3 or more images" do
|
||||
visit "/new-topic"
|
||||
expect(composer).to be_opened
|
||||
@@ -227,8 +225,6 @@ describe "Uploading files in the composer", type: :system do
|
||||
end
|
||||
|
||||
it "does not automatically wrap images in [grid] tags when setting is disabled" do
|
||||
SiteSetting.experimental_auto_grid_images = false
|
||||
|
||||
visit "/new-topic"
|
||||
expect(composer).to be_opened
|
||||
|
||||
|
||||
Reference in New Issue
Block a user