We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd24c7 commit b6cc12eCopy full SHA for b6cc12e
test/sandbox/test/rendering_test.rb
@@ -372,7 +372,7 @@ def test_renders_component_without_format
372
373
def test_renders_component_with_asset_url
374
component = AssetComponent.new
375
- assert_match(%r{http://assets.example.com/assets/application-\w+.css}, render_inline(component).text)
+ assert_match(%r{http://assets\.example\.com/assets/application-\w+\.css}, render_inline(component).text)
376
377
if Rails.version.to_f < 8.0
378
# Propshaft doesn't allow setting custom hosts so this only works in Rails < 8
0 commit comments