Sha256: 3d8be5157751ae9585e470c43eaf2dcfd16d72f426f495df64eb245348b187de

Contents?: true

Size: 577 Bytes

Versions: 15

Compression:

Stored size: 577 Bytes

Contents

require 'spec/expectations'

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

15 entries across 15 versions & 3 rubygems

Version Path
aslakhellesoy-cucumber-0.1.14.1 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.14.2 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.15 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.16.1 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.16.2 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.16.3 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.16.4 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.16.5 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.16 examples/tickets/features/step_definitons/tickets_steps.rb
aslakhellesoy-cucumber-0.1.99.1 examples/tickets/features/step_definitons/tickets_steps.rb
kosmas58-cucumber-0.1.16.5 examples/tickets/features/step_definitons/tickets_steps.rb
kosmas58-cucumber-0.1.16.6 examples/tickets/features/step_definitons/tickets_steps.rb
cucumber-0.1.14 examples/tickets/features/step_definitons/tickets_steps.rb
cucumber-0.1.16 examples/tickets/features/step_definitons/tickets_steps.rb
cucumber-0.1.15 examples/tickets/features/step_definitons/tickets_steps.rb