Sha256: 588911ab494370166fed2dec8cdf1c894805857ba1935a3d98168d9f87534548

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

require 'spec'

World do
  Object.new
end

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

4 entries across 4 versions & 2 rubygems

Version Path
aslakhellesoy-cucumber-0.1.13.2 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.13.3 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.13 examples/tickets/features/step_definitons/tickets_steps.rb
cucumber-0.1.13 examples/tickets/features/step_definitons/tickets_steps.rb