Skip to content
Snippets Groups Projects
Commit 035a38f1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix issuable_bulk_update_path and merge request spinach test

parent af9dc973
No related branches found
No related tags found
1 merge request!6226Add bulk update support for merge requests list
Loading
@@ -113,10 +113,10 @@ module IssuablesHelper
Loading
@@ -113,10 +113,10 @@ module IssuablesHelper
end end
   
def issuable_bulk_update_path(type) def issuable_bulk_update_path(type)
if type == "issue" if type == :merge_requests
bulk_update_namespace_project_issues_path(@project.namespace, @project)
else
bulk_update_namespace_project_merge_requests_path(@project.namespace, @project) bulk_update_namespace_project_merge_requests_path(@project.namespace, @project)
else
bulk_update_namespace_project_issues_path(@project.namespace, @project)
end end
end end
end end
Loading
@@ -31,8 +31,10 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
Loading
@@ -31,8 +31,10 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
end end
   
step 'I click link "Closed"' do step 'I click link "Closed"' do
page.within('.issues-state-filters') do
click_link "Closed" click_link "Closed"
end end
end
   
step 'I should see merge request "Wiki Feature"' do step 'I should see merge request "Wiki Feature"' do
page.within '.merge-request' do page.within '.merge-request' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment