Sha256: b95d97e574c81a9c385b3edf8a4014ce44129730335c68503125be80ac482a26
Contents?: true
Size: 234 Bytes
Versions: 25
Compression:
Stored size: 234 Bytes
Contents
require 'spec' include_class 'java.util.TreeSet' Given /I have an empty set/ do @set = TreeSet.new end When /I add (\w+)/ do |s| @set.add(s) end Then /the contents should be (.*)/ do |s| @set.to_a.join(" ").should == s end
Version data entries
25 entries across 25 versions & 5 rubygems