mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
8 lines
218 B
Ruby
8 lines
218 B
Ruby
|
describe :set_include, shared: true do
|
||
|
it "returns true when self contains the passed Object" do
|
||
|
set = Set[:a, :b, :c]
|
||
|
set.send(@method, :a).should be_true
|
||
|
set.send(@method, :e).should be_false
|
||
|
end
|
||
|
end
|