Skip to content

Commit cd7e7b0

Browse files
update the assert statement that looks for the client bundle at the page
1 parent 33105d0 commit cd7e7b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react_on_rails_pro/spec/dummy/spec/system/integration_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def change_text_expect_dom_selector(dom_selector, expect_no_change: false)
396396

397397
it "hydrates the component" do
398398
visit path
399-
expect(page.html).to include("client-bundle.js")
399+
expect(page.html).to match(/client-bundle[^\"]*.js/)
400400
change_text_expect_dom_selector(selector)
401401
end
402402

0 commit comments

Comments
 (0)