Commit 07a48a6
Restore ActiveRecord.default_timezone after #234 regression test
The new test set ActiveRecord.default_timezone = :utc but did not put
the original value back, so it could affect tests that ran later in
the same process. Capture the original value and restore it from the
ensure block alongside the deprecator behavior.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 732f713 commit 07a48a6
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
| |||
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| 235 | + | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
| |||
0 commit comments