Skip to content

Commit 641dea8

Browse files
committed
fix rubocop offense
1 parent 944d2be commit 641dea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/misc/finder_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_create_conditions_for_columns
3333

3434
def test_method_sorting
3535
column = ActiveScaffold::DataStructures::Column.new('a', ModelStub)
36-
column.sort_by method: proc { |r| self }
36+
column.sort_by method: proc { self }
3737

3838
collection = [16_000, 2853, 98_765, 6188, 4]
3939
assert_equal collection.sort, @klass.send(:sort_collection_by_column, collection, column, 'asc')

0 commit comments

Comments
 (0)