diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-07-07 15:26:01 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-07-07 15:26:01 +0100 |
commit | c7f23e2564880a9742b3f428dcde567852e75212 (patch) | |
tree | fd554174034ac767b9d39725f447e09cb79fdcd7 | |
parent | 78dd2f056fac9077c85c4e1b3d9d42abaa7aed05 (diff) | |
download | gitlab-ce-c7f23e2564880a9742b3f428dcde567852e75212.tar.gz |
Fix close_reopen_report_toggle_spec.rb path helpers rubocop offense
-rw-r--r-- | spec/features/issuables/close_reopen_report_toggle_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/issuables/close_reopen_report_toggle_spec.rb b/spec/features/issuables/close_reopen_report_toggle_spec.rb index 361f14e4366..9a99bb705b7 100644 --- a/spec/features/issuables/close_reopen_report_toggle_spec.rb +++ b/spec/features/issuables/close_reopen_report_toggle_spec.rb @@ -52,7 +52,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do context 'when user has permission to update', :js do before do - visit namespace_project_issue_path(project.namespace, project, issuable) + visit project_issue_path(project, issuable) end it_behaves_like 'an issuable close/reopen/report toggle' @@ -65,7 +65,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do before do cant_project.add_guest(user) - visit namespace_project_issue_path(cant_project.namespace, cant_project, cant_issuable) + visit project_issue_path(cant_project, cant_issuable) end it 'only shows the `Report abuse` and `New issue` buttons' do @@ -89,7 +89,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do context 'when user has permission to update', :js do before do - visit namespace_project_merge_request_path(project.namespace, project, issuable) + visit project_merge_request_path(project, issuable) end it_behaves_like 'an issuable close/reopen/report toggle' @@ -102,7 +102,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do before do cant_project.add_reporter(user) - visit namespace_project_merge_request_path(cant_project.namespace, cant_project, cant_issuable) + visit project_merge_request_path(cant_project, cant_issuable) end it 'only shows a `Report abuse` button' do |