File tree 1 file changed +2
-2
lines changed
test/react/server_rendering
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
12
12
container = React ::ServerRendering ::WebpackerManifestContainer . new
13
13
js_file = container . find_asset ( 'application.js' )
14
14
# Main file:
15
- assert_includes js_file , 'ReactRailsUJS.useContext(ctx) '
15
+ assert_includes js_file , 'ReactRailsUJS'
16
16
# Bundled dependencies:
17
17
assert_includes js_file , 'ExportDefaultComponent'
18
18
end
@@ -22,7 +22,7 @@ def test_it_loads_from_webpack_dev_server
22
22
container = React ::ServerRendering ::WebpackerManifestContainer . new
23
23
js_file = container . find_asset ( 'application.js' )
24
24
# Main file:
25
- assert_includes js_file , 'ReactRailsUJS.useContext(ctx) '
25
+ assert_includes js_file , 'ReactRailsUJS'
26
26
# Bundled dependencies:
27
27
assert_includes js_file , 'ExportDefaultComponent'
28
28
end
You can’t perform that action at this time.
0 commit comments