Commit 9375aeb
committed
Update tests and doctor to use new immediate_hydration behavior
- Removes immediate_hydration check from doctor.rb config analysis
- Updates tests to stub ReactOnRails::ProUtils.immediate_hydration_enabled?
instead of setting config.immediate_hydration
- Removes invalid config.immediate_hydration from dummy app initializer
Tests now properly verify that Pro users get immediate hydration and
non-Pro users don't, without requiring explicit configuration.1 parent f4eaf69 commit 9375aeb
File tree
4 files changed
+4
-21
lines changed- lib/react_on_rails
- spec/dummy
- config/initializers
- spec
- helpers
- system
4 files changed
+4
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | 735 | | |
742 | 736 | | |
743 | 737 | | |
| |||
| 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