Skip to content

A platform for community discussion. Free, open, simple.

fix test for absolute_base_url change

Andrew Schleiferf8b90226cb9d
diff --git a/spec/components/pretty_text_spec.rb b/spec/components/pretty_text_spec.rb
index 10fddf0e503..977ab2ea765 100644
--- a/spec/components/pretty_text_spec.rb
+++ b/spec/components/pretty_text_spec.rb
@@ -737,7 +737,7 @@ describe PrettyText do
def test_s3_with_subfolder_cdn
raw = <<~RAW
- <img src='https:#{Discourse.store.absolute_base_url}/subfolder/original/9/9/99c9384b8b6d87f8509f8395571bc7512ca3cad1.jpg'>
+ <img src='https:#{Discourse.store.absolute_base_url}/original/9/9/99c9384b8b6d87f8509f8395571bc7512ca3cad1.jpg'>
RAW
html = <<~HTML