Fix issuable_bulk_update_path and merge request spinach test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
af9dc9736e
commit
035a38f18e
2 changed files with 6 additions and 4 deletions
|
@ -113,10 +113,10 @@ module IssuablesHelper
|
|||
end
|
||||
|
||||
def issuable_bulk_update_path(type)
|
||||
if type == "issue"
|
||||
bulk_update_namespace_project_issues_path(@project.namespace, @project)
|
||||
else
|
||||
if type == :merge_requests
|
||||
bulk_update_namespace_project_merge_requests_path(@project.namespace, @project)
|
||||
else
|
||||
bulk_update_namespace_project_issues_path(@project.namespace, @project)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -31,7 +31,9 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
|
|||
end
|
||||
|
||||
step 'I click link "Closed"' do
|
||||
click_link "Closed"
|
||||
page.within('.issues-state-filters') do
|
||||
click_link "Closed"
|
||||
end
|
||||
end
|
||||
|
||||
step 'I should see merge request "Wiki Feature"' do
|
||||
|
|
Loading…
Reference in a new issue