aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/range_ext_test.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-05-13 13:44:35 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2012-05-13 13:44:39 -0300
commit1c481be331f32a7768b1017b86bd1b1beea02efc (patch)
treebe4a72f953627422a57a2a425efa40f13a8539d0 /activesupport/test/core_ext/range_ext_test.rb
parent6e55d30ca8a5a165211dfd0ba7a2beef3ad23cda (diff)
downloadrails-1c481be331f32a7768b1017b86bd1b1beea02efc.tar.gz
rails-1c481be331f32a7768b1017b86bd1b1beea02efc.tar.bz2
rails-1c481be331f32a7768b1017b86bd1b1beea02efc.zip
Remove blockless_step leave all that up to Ruby
Closes #6297
Diffstat (limited to 'activesupport/test/core_ext/range_ext_test.rb')
-rw-r--r--activesupport/test/core_ext/range_ext_test.rb2
1 files changed, 1 insertions, 1 deletions
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