Commit e755780
Upgrade Capybara to 3.40.0 for Rack 3.2 compatibility
Fixes pre-existing test failures caused by Rack 3.2 incompatibility.
Problem:
- Integration tests failing with: uninitialized constant Rack::Handler
- Rack 3.0+ removed Rack::Handler, but Capybara 3.39.2 still uses it
- This error exists on both master and this branch (confirmed by testing)
Solution:
- Upgrade Capybara from 3.39.2 to ~> 3.40
- Capybara 3.40.0 adds full Rack 3 support (released 2024-01-26)
- Version 3.39.0 had experimental Rack 3 support, 3.40.0 made it official
Testing:
- Verified tests now run without Rack::Handler error
- bundle update capybara successful
- Tests execute (though some still fail due to unrelated issues)
Investigation notes:
- Per CLAUDE.md guidance, confirmed failures are pre-existing on master
- Tested master branch: same Rack::Handler error occurs
- This fix addresses test suite infrastructure, not code changes in this PR
References:
- Capybara changelog: https://github.com/teamcapybara/capybara/blob/master/History.md
- Rack 3 issue: teamcapybara/capybara#2640
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 28f98a7 commit e755780
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
0 commit comments