1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/struct/select_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
361 B
Ruby
Raw Normal View History

require_relative '../../spec_helper'
require_relative 'shared/select'
require_relative 'shared/accessor'
require_relative '../enumerable/shared/enumeratorized'
describe "Struct#select" do
it_behaves_like :struct_select, :select
it_behaves_like :struct_accessor, :select
it_behaves_like :enumeratorized_with_origin_size, :select, Struct.new(:foo).new
end