We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 944d2be commit 641dea8Copy full SHA for 641dea8
test/misc/finder_test.rb
@@ -33,7 +33,7 @@ def test_create_conditions_for_columns
33
34
def test_method_sorting
35
column = ActiveScaffold::DataStructures::Column.new('a', ModelStub)
36
- column.sort_by method: proc { |r| self }
+ column.sort_by method: proc { self }
37
38
collection = [16_000, 2853, 98_765, 6188, 4]
39
assert_equal collection.sort, @klass.send(:sort_collection_by_column, collection, column, 'asc')
0 commit comments