mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
parent
5c4a2d428a
commit
bd38b6dcc1
@ -145,7 +145,7 @@ RSpec.describe ThemeJavascriptsController do
|
||||
expect(response.body).to include(
|
||||
"require(\"discourse/lib/theme-settings-store\").registerSettings(" +
|
||||
"#{component.id}, {\"num_setting\":5,\"theme_uploads\":{\"vendorlib\":" +
|
||||
"\"/uploads/default/test_#{ENV['TEST_ENV_NUMBER']}/original/1X/#{js_upload.sha1}.js\"},\"theme_uploads_local\":{\"vendorlib\":" +
|
||||
"\"/uploads/default/test_#{ENV['TEST_ENV_NUMBER'].presence || '0'}/original/1X/#{js_upload.sha1}.js\"},\"theme_uploads_local\":{\"vendorlib\":" +
|
||||
"\"/theme-javascripts/#{js_upload.sha1}.js?__ws=test.localhost\"}}, { force: true });"
|
||||
)
|
||||
expect(response.body).to include("assert.ok(true);")
|
||||
|
Loading…
Reference in New Issue
Block a user