OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/features/step_definitions/version_steps.rb

14 lines
364 B

Then(/^the editable attributes of the version should be the following:$/) do |table|
table.rows_hash.each do |key, value|
case key
when "Column in backlog"
page.should have_select(key, :selected => value)
when "Start date"
page.should have_field(key, :with => value)
else
raise "Not an implemented attribute"
end
end
end