From 1c481be331f32a7768b1017b86bd1b1beea02efc Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 13 May 2012 13:44:35 -0300 Subject: Remove blockless_step leave all that up to Ruby Closes #6297 --- activesupport/test/core_ext/range_ext_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/test') diff --git a/activesupport/test/core_ext/range_ext_test.rb b/activesupport/test/core_ext/range_ext_test.rb index 9c3389ba82..78a3bd8c85 100644 --- a/activesupport/test/core_ext/range_ext_test.rb +++ b/activesupport/test/core_ext/range_ext_test.rb @@ -70,7 +70,7 @@ class RangeTest < ActiveSupport::TestCase end def test_blockless_step - assert_equal [1,3,5,7,9], (1..10).step(2) + assert_equal [1,3,5,7,9], (1..10).step(2).to_a end def test_original_step -- cgit v1.2.3