Commit 8050c30062e4b94923c1ce5f675ea297f37b2afc
1 parent
a0ed30ca
Exists in
master
and in
3 other branches
Fixed tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/test_helper.rb
... | ... | @@ -354,7 +354,7 @@ module TestDatabase |
354 | 354 | |
355 | 355 | def test_default_timezone_local |
356 | 356 | User.default_timezone = :local |
357 | - assert_raises(RuntimeError) { User.group_by_day(:created_at).count } | |
357 | + assert_raises(Groupdate::Error) { User.group_by_day(:created_at).count } | |
358 | 358 | ensure |
359 | 359 | User.default_timezone = :utc |
360 | 360 | end | ... | ... |