Commit 9d204cc
Fix Pro console logging test for new format
The test was unconditionally removing the first line assuming there
would be a leading blank line from the old wrapInScriptTags format.
With the new approach where Ruby wraps the console script using
content_tag (via wrap_console_script_with_nonce), there's no leading
blank line, so the test was incorrectly skipping the first log line.
Changed to only shift if the first line is actually empty.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 0740ba6 commit 9d204cc
File tree
1 file changed
+2
-2
lines changed- react_on_rails_pro/spec/dummy/spec/requests
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments