examples/tickets/features/step_definitons/tickets_steps.rb in kosmas58-cucumber-0.1.99.23 vs examples/tickets/features/step_definitons/tickets_steps.rb in kosmas58-cucumber-0.1.100.5

- old
+ new

@@ -3,13 +3,10 @@ World do Object.new end After do |scenario| - if scenario.status.index(:failed) - # Call the BDD police - end end Given "be_empty" do [1,2].should_not be_empty end @@ -51,10 +48,26 @@ 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| +Then /^I should see a multiline string like$/ do |s| s.should == %{A string that spans several lines} +end + +Given /^the following users exist in the system$/ do |table| + table.hashes[0][:role_assignments].should == 'HUMAN RESOURCE' +end + +Given /^I have a pending step$/ do + pending +end + +When /^I run this feature with the progress format$/ do + pending +end + +Then /^I should get a no method error for 'backtrace_line'$/ do + pending end