summaryrefslogtreecommitdiff
path: root/spec/ruby/core/range/equal_value_spec.rb
blob: 889557fc2a6e607295c163b86f8b2999cea592e8 (plain)
1
2
3
4
5
6
7
8
9
10
require_relative '../../spec_helper'
require_relative 'shared/equal_value'

describe "Range#==" do
  it_behaves_like :range_eql, :==

  it "returns true if the endpoints are ==" do
    (0..1).should == (0..1.0)
  end
end