features/step_definitions/remi_step.rb in remi-0.2.18 vs features/step_definitions/remi_step.rb in remi-0.2.19

- old
+ new

@@ -228,9 +228,15 @@ @brt.sources.fields.each do |source_field| step "the target field '#{target_field}' is copied from the source field '#{source_field.full_name}'" end end +Then /^the target field is copied from the source field '([^']+)'$/ do |source_field| + @brt.targets.fields.each do |target_field| + step "the target field '#{target_field.full_name}' is copied from the source field '#{source_field}'" + end +end + Then /^the target field is copied from the source field$/ do @brt.targets.fields.each do |target_field| @brt.sources.fields.each do |source_field| step "the target field '#{target_field.full_name}' is copied from the source field '#{source_field.full_name}'" end