summaryrefslogtreecommitdiff
path: root/spec/ruby/core/hash/filter_spec.rb
blob: 46c7bea8e80f87cae22248038f776e5105300361 (plain)
1
2
3
4
5
6
7
8
9
10
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/select', __FILE__)

describe "Hash#filter" do
  it_behaves_like :hash_select, :filter
end

describe "Hash#filter!" do
  it_behaves_like :hash_select!, :filter!
end