Skip to content
Snippets Groups Projects
Commit 5559a68e authored by Heinrich Lee Yu's avatar Heinrich Lee Yu
Browse files

Merge branch '284138-fix-endpoint-route-for-importing-requirementse' into 'master'

Fix requirements import authorize route to match Workhorse route

See merge request !49594
parents d31464dd e537b1ea
No related branches found
No related tags found
1 merge request!49594Fix requirements import authorize route to match Workhorse route
Pipeline #227788763 passed with warnings
......@@ -15,7 +15,7 @@
resources :requirements, only: [:index] do
collection do
post :import_csv
post :authorize
post 'import_csv/authorize', to: 'requirements#authorize'
end
end
end
......
......@@ -115,7 +115,7 @@ def upload_file(file, headers = {}, params = {})
describe 'POST #authorize' do
subject do
post authorize_project_requirements_management_requirements_path(project),
post import_csv_authorize_project_requirements_management_requirements_path(project),
headers: workhorse_headers
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment