Commit 9e63b3b
Add test for rsim#234: no AR default_timezone deprecation warning
Capture deprecation warnings emitted while resolving
plsql.default_timezone with `activerecord_class` set, and assert that
no warning mentioning `default_timezone` was raised.
The test_gemfiles workflow exercises every supported ActiveRecord
version (5.0 through 8.0), so this test will catch any future
regression that re-introduces a call to the deprecated per-class
`default_timezone` accessor on AR 7.0/7.1.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5ea974a commit 9e63b3b
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
221 | 239 | | |
222 | 240 | | |
223 | 241 | | |
| |||
0 commit comments