Permalink
Browse files

remove useless tests for Range#step

  • Loading branch information...
1 parent 1c481be commit a1f695287bc643d6c609026fcabe03e9dace5e60 @nashby nashby committed May 13, 2012
Showing with 0 additions and 10 deletions.
  1. +0 −10 activesupport/test/core_ext/range_ext_test.rb
@@ -69,16 +69,6 @@ def test_should_include_identical_exclusive_with_floats
assert((1.0...10.0).include?(1.0...10.0))
end
- def test_blockless_step
- assert_equal [1,3,5,7,9], (1..10).step(2).to_a
- end
-
- def test_original_step
- array = []
- (1..10).step(2) {|i| array << i }
- assert_equal [1,3,5,7,9], array
- end
-
def test_cover_is_not_override
range = (1..3)
assert range.method(:include?) != range.method(:cover?)

0 comments on commit a1f6952

Please sign in to comment.