Commit c8965f2
committed
Update tests to use ProUtils for immediate_hydration
Changes test setup to stub ReactOnRails::ProUtils.immediate_hydration_config
instead of setting config.immediate_hydration on ReactOnRails configuration.
This aligns with the new architecture where immediate_hydration is a Pro-only
configuration option.
Also removes config.immediate_hydration from the dummy app initializer as it
is no longer a valid ReactOnRails configuration option.1 parent 638f0ee commit c8965f2
File tree
3 files changed
+4
-15
lines changed- spec/dummy
- config/initializers
- spec
- helpers
- system
3 files changed
+4
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 41 | + | |
| 42 | + | |
50 | 43 | | |
51 | 44 | | |
52 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | 107 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 108 | + | |
| 109 | + | |
113 | 110 | | |
114 | 111 | | |
115 | 112 | | |
| |||
0 commit comments