summaryrefslogtreecommitdiff
path: root/spec/rubyspec/library/set/sortedset/shared/length.rb
blob: d1dfee1cff7d9aef56aacc59d1bfb7fdbcd34ec3 (plain)
1
2
3
4
5
6
describe :sorted_set_length, shared: true do
  it "returns the number of elements in the set" do
    set = SortedSet["a", "b", "c"]
    set.send(@method).should == 3
  end
end