Commit ed8a50a
fix: Update test expectations and fix YAML parsing for Ruby 3.4
Two test fixes:
1. **PrerenderError test**: Updated expectation to match new error message
format. The message now shows "💡 Tip: Set FULL_TEXT_ERRORS=true to see
the full backtrace" instead of "The rest of the backtrace is hidden".
2. **Generator YAML parsing**: Fixed `Psych::AliasesNotEnabled` error in
generator tests by adding `aliases: true` parameter to `YAML.load_file`.
This is required in newer Ruby/Psych versions to parse YAML files with
anchors and aliases.
These are compatibility fixes for the improved error messages feature.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 3f89234 commit ed8a50a
File tree
2 files changed
+2
-2
lines changed- lib/generators/react_on_rails
- spec/react_on_rails
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments