Commit 261244b
committed
Fix ReactOnRailsPro::Utils constant loading issue
Add guard to check if ReactOnRailsPro::Utils is defined before calling it.
Add rescue block to handle NameError and LoadError gracefully.
This fixes the issue where tests fail with 'uninitialized constant ReactOnRailsPro::Utils'
when the Pro gem is available but not fully loaded yet.
Fixes failing test: ReactOnRails::Configuration changes the configuration of the gem1 parent 604065e commit 261244b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
264 | 266 | | |
| 267 | + | |
| 268 | + | |
265 | 269 | | |
266 | 270 | | |
267 | 271 | | |
| |||
0 commit comments