[ci skip]
@ -68,7 +68,7 @@ See doc/COPYRIGHT.rdoc for more details.
</tr>
</thead>
<tbody>
<% for status in (@statuses || []) %>
<% for status in (Status.all || []) %>
<tr>
<td>
<%= status.name %>
@ -201,7 +201,7 @@ When /^I click on the element with class "([^"]+?)"$/ do |locator|
end
When /^I confirm the story form$/ do
find(:xpath, XPath::HTML.fillable_field('subject')).native.send_key :return
find(:css, 'input[name=subject]').native.send_key :return
step 'I wait for AJAX requests to finish'
step 'I should not see ".saving"'
@ -43,11 +43,6 @@ module OpenProject::Backlogs::Patches::ProjectsControllerPatch
module InstanceMethods
def load_project_settings
super
@statuses = Status.all
def project_done_statuses
selected_statuses = (params[:statuses] || []).map { |work_package_status|
Status.find(work_package_status[:status_id].to_i)