Commit bae67fe
Fix RSpec examples.txt persistence file path configuration
The spec_helper.rb was using a relative path "spec/examples.txt" which
created the file relative to the current working directory. When tests
were run from the monorepo root, this created a spec/ directory at the
root level (which shouldn't exist with the new structure).
Fixed by using File.join(__dir__, "../examples.txt") to create the file
relative to the spec_helper's location, ensuring it goes in
react_on_rails/spec/examples.txt regardless of the working directory.
Also added /spec/ to .gitignore to prevent the root-level directory from
being tracked if accidentally created.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent e835e09 commit bae67fe
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments