example/step_definitions/example.step.rb in cucumber-in-the-yard-1.5.4 vs example/step_definitions/example.step.rb in cucumber-in-the-yard-1.6.0
- old
+ new
@@ -50,9 +50,13 @@
And /^edits their the (biography) to state:$/ do |section,text|
pending "text_field not present for #{section} #{bio} for this release"
end
+Then /I expect (#{CUSTOMER}) to be a member of the '([^']+)' group/ do |customer,product|
+ pending "Customer #{customer} with product #{product}"
+end
+
#
# Complicated step definition with optional parameters
#
Given /^(?:I create )?an? (?:(active|deactive|inactive|simulated)d?)? ?project(?:[\s,]*(?:with)? ?(?:an?|the)? (?:(?:the size? (?:at|of)? ?(\d+)|named? (?:of )?'([^']+)'|start date (?:of )?((?:(?:\d{1,2}[\/-]){2}(?:\d\d){1,2}))|end date (?:of )?((?:(?:\d{1,2}[\/-]){2}(?:\d\d){1,2}))|user range (?:of )?(\d+-\d+)|description (?:of )?'([^']+)'|nicknamed? (?:of )?'([^']+)')[,\s]*)* ?)?$/ do |state,size,name,start_date,end_date,user_range,description,nickname|
pending "#{state} #{size} #{name} #{start_date} #{end_date} #{user_range} #{description} #{nickname}"
\ No newline at end of file