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

Version Path
cucumber-0.1.14 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.1.15 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.1.16 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.2.0 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.2.1 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.2.2 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.0 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.10 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.2.3 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.1 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.11 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.2 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.4 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.3 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.5 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.6 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.9 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.7 examples/java/features/step_definitons/tree_steps.rb
cucumber-0.3.8 examples/java/features/step_definitons/tree_steps.rb