Sha256: a7510670276076157d491093a6724d6f6bb905f75b3f24aba3e5f5739ca8666a

Contents?: true

Size: 210 Bytes

Versions: 37

Compression:

Stored size: 210 Bytes

Contents

step "there are :count monkeys with :color hair" do |count, color|
  @monkeys = Array.new(count) { color }
end

step "there should be 3 monkeys with blue hair" do
  @monkeys.should == [:blue, :blue, :blue]
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
turnip-3.0.0.pre.beta.1 examples/steps/more_steps.rb
turnip-2.1.1 examples/steps/more_steps.rb
turnip-2.1.0 examples/steps/more_steps.rb
turnip-2.0.2 examples/steps/more_steps.rb
turnip-2.0.1 examples/steps/more_steps.rb
turnip-2.0.0 examples/steps/more_steps.rb
turnip-1.3.1 examples/steps/more_steps.rb
turnip-1.3.0 examples/steps/more_steps.rb
turnip-1.2.4 examples/steps/more_steps.rb
turnip-1.2.3 examples/steps/more_steps.rb
turnip-1.2.2 examples/steps/more_steps.rb
turnip-1.2.1 examples/steps/more_steps.rb
turnip-1.2.0 examples/steps/more_steps.rb
turnip-1.1.0 examples/steps/more_steps.rb
turnip-1.0.0 examples/steps/more_steps.rb
turnip-0.3.1 examples/more_steps.rb
turnip-0.3.0 examples/more_steps.rb