summaryrefslogtreecommitdiff
path: root/spec/rubyspec/library/set/shared/include.rb
blob: d41f8f4102c60083a8814e96e086bae0f66775a4 (plain)
1
2
3
4
5
6
7
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