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

Version Path
aslakhellesoy-cucumber-0.1.1 examples/java/features/steps/tree_steps.rb
aslakhellesoy-cucumber-0.1.10 examples/java/features/step_definitons/tree_steps.rb
aslakhellesoy-cucumber-0.1.11 examples/java/features/step_definitons/tree_steps.rb
aslakhellesoy-cucumber-0.1.12 examples/java/features/step_definitons/tree_steps.rb
aslakhellesoy-cucumber-0.1.13.2 examples/java/features/step_definitons/tree_steps.rb
aslakhellesoy-cucumber-0.1.13.3 examples/java/features/step_definitons/tree_steps.rb
aslakhellesoy-cucumber-0.1.13 examples/java/features/step_definitons/tree_steps.rb
aslakhellesoy-cucumber-0.1.2 examples/java/features/steps/tree_steps.rb
aslakhellesoy-cucumber-0.1.3 examples/java/features/steps/tree_steps.rb
aslakhellesoy-cucumber-0.1.4 examples/java/features/steps/tree_steps.rb
aslakhellesoy-cucumber-0.1.9 examples/java/features/step_definitons/tree_steps.rb
bts-cucumber-0.1.13.1 examples/java/features/step_definitons/tree_steps.rb
bts-cucumber-0.1.13.2 examples/java/features/step_definitons/tree_steps.rb
bts-cucumber-0.1.13.3 examples/java/features/step_definitons/tree_steps.rb
elight-cucumber-0.1.9 examples/java/features/steps/tree_steps.rb
jeffrafter-cucumber-0.1.10 examples/java/features/step_definitons/tree_steps.rb
jeffrafter-cucumber-0.1.12 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.1.11 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.1.12 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.1.10 examples/java/features/step_definitons/tree_steps.rb