Change Retry link to point to the self service interface
- replaced
retry
link to/user/:user/retry/<%= test.run_id %>
inhistory.erb
. - added redirect in GET
/:user/retry/:run_id
to itself but with @user.username in place of:user
. - removed before block in
api.rb
containingread_request_user
since user is authenticated only using key inapi.rb
. - changed GET
/api/v1/retry/:run_id
to redirect directly to/:user/retry/:run_id
. - added and updated tests in
spec/debci/api_spec.rb
andspec/debci/self_service_spec.rb
.
Closes: #179 (closed)
Edited by Pavit Kaur