Sha256: af12c80358a418b990b3a618980e787e842d5b9fc6a9bbe4169f234a03d57291

Contents?: true

Size: 537 Bytes

Versions: 15

Compression:

Stored size: 537 Bytes

Contents

require 'spec'

Given "be_empty" do
  [1,2].should_not be_empty
end

Given "nested step is called" do
  Given "nested step"
end

Given "nested step" do
  @magic = 'mushroom'
end

Then "nested step should be executed" do
  @magic.should == 'mushroom'
end

Given /^the following table$/ do |table|
  @table = table
end

Then /^I should be (\w+) in (\w+)$/ do |key, value|
  hash = @table.hashes[0]
  hash[key].should == value
end

Then /^I shoule see a multiline string like$/ do |s|
  s.should == %{A string
that spans
several lines}
end

Version data entries

15 entries across 15 versions & 5 rubygems

Version Path
aslakhellesoy-cucumber-0.1.10 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.11 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.12 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.9 examples/tickets/features/step_definitons/tickets_steps.rb
bts-cucumber-0.1.13.1 examples/tickets/features/step_definitons/tickets_steps.rb
bts-cucumber-0.1.13.2 examples/tickets/features/step_definitons/tickets_steps.rb
bts-cucumber-0.1.13.3 examples/tickets/features/step_definitons/tickets_steps.rb
elight-cucumber-0.1.9 examples/tickets/features/steps/tickets_steps.rb
jeffrafter-cucumber-0.1.10 examples/tickets/features/step_definitons/tickets_steps.rb
jeffrafter-cucumber-0.1.12 examples/tickets/features/step_definitons/tickets_steps.rb
cucumber-0.1.10 examples/tickets/features/step_definitons/tickets_steps.rb
cucumber-0.1.11 examples/tickets/features/step_definitons/tickets_steps.rb
cucumber-0.1.12 examples/tickets/features/step_definitons/tickets_steps.rb
cucumber-0.1.8 examples/tickets/features/steps/tickets_steps.rb
cucumber-0.1.9 examples/tickets/features/step_definitons/tickets_steps.rb