Commit 2f0cb92824059c9477ae1a89b23b6777a50c50fd
1 parent
56100943
Exists in
master
and in
12 other branches
Fixed tests
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/test_helper.rb
... | ... | @@ -769,11 +769,11 @@ module TestGroupdate |
769 | 769 | end |
770 | 770 | |
771 | 771 | def test_permit_symbol_symbols |
772 | - assert_equal ({}), User.group_by_period(:day, :created_at, permit: %i[day]).count | |
772 | + assert_equal ({}), User.group_by_period(:day, :created_at, permit: [:day]).count | |
773 | 773 | end |
774 | 774 | |
775 | 775 | def test_permit_string_symbols |
776 | - assert_equal ({}), User.group_by_period("day", :created_at, permit: %i[day]).count | |
776 | + assert_equal ({}), User.group_by_period("day", :created_at, permit: [:day]).count | |
777 | 777 | end |
778 | 778 | |
779 | 779 | def test_permit_symbol_strings | ... | ... |