aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/range/cover_spec.rb
blob: 9c8b914d6df4486103b6a2d89e64730331cde739 (plain)
1
2
3
4
5
6
7
8
9
# -*- encoding: ascii-8bit -*-
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/cover_and_include', __FILE__)
require File.expand_path('../shared/cover', __FILE__)

describe "Range#cover?" do
  it_behaves_like :range_cover_and_include, :cover?
  it_behaves_like :range_cover, :cover?
end