Sha256: 6b8288c9fc3ad0c2a1c94b7d5e56910d731ce0220fb365d37c5e071cf790c93d
Contents?: true
Size: 247 Bytes
Versions: 179
Compression:
Stored size: 247 Bytes
Contents
require 'spec/expectations' 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
179 entries across 179 versions & 12 rubygems