File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/react/server_rendering Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ def test_it_loads_JS_from_the_webpacker_container
1212 container = React ::ServerRendering ::WebpackerManifestContainer . new
1313 js_file = container . find_asset ( 'application.js' )
1414 # Main file:
15- assert_includes js_file , 'ReactRailsUJS.useContext(ctx) '
15+ assert_includes js_file , 'ReactRailsUJS'
1616 # Bundled dependencies:
1717 assert_includes js_file , 'ExportDefaultComponent'
1818 end
@@ -22,7 +22,7 @@ def test_it_loads_from_webpack_dev_server
2222 container = React ::ServerRendering ::WebpackerManifestContainer . new
2323 js_file = container . find_asset ( 'application.js' )
2424 # Main file:
25- assert_includes js_file , 'ReactRailsUJS.useContext(ctx) '
25+ assert_includes js_file , 'ReactRailsUJS'
2626 # Bundled dependencies:
2727 assert_includes js_file , 'ExportDefaultComponent'
2828 end
You can’t perform that action at this time.
0 commit comments