Add test for conference registration controller show and destroy action
After failed delete, user should be redirected to registration show and not root.
This commit is contained in:
parent
80a06b99b4
commit
19157ac81d
3 changed files with 96 additions and 2 deletions
|
|
@ -106,6 +106,7 @@ Osem::Application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
# TODO: change conference_registrations to singular resource
|
||||
resource :conference_registrations, path: 'register'
|
||||
resources :tickets, only: [:index]
|
||||
resources :ticket_purchases, only: [:create, :destroy]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue