fixed the child-id-selector to make the tests run

pull/527/head
Stefan Frank 11 years ago
parent 3c0d20de8f
commit e164d01b9e
  1. 2
      features/step_definitions/api_steps.rb

@ -80,7 +80,7 @@ end
And(/^the json\-response should say that "(.*?)" has (\d+) child(ren)?$/) do |parent_name, nr_of_children,plural|
parent = child = lookup_work_package(parent_name)
expect(parent["children_ids"].size).to eql nr_of_children.to_i
expect(parent["child_ids"].size).to eql nr_of_children.to_i
end
And(/^the work package "(.*?)" has the due_date "(.*?)"$/) do |work_package_name, due_date|

Loading…
Cancel
Save