feat(procedure): add closing details page
This commit is contained in:
parent
facb38b539
commit
d800213920
7 changed files with 38 additions and 5 deletions
|
@ -42,7 +42,7 @@ describe Users::CommencerController, type: :controller do
|
|||
published_procedure.organisation = "hello"
|
||||
published_procedure.close!
|
||||
get :commencer, params: { path: published_procedure.path }
|
||||
expect(response).to redirect_to(root_path)
|
||||
expect(response).to redirect_to(closing_details_path(published_procedure.path))
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -51,7 +51,7 @@ describe Users::CommencerController, type: :controller do
|
|||
published_procedure.service = create(:service)
|
||||
published_procedure.close!
|
||||
get :commencer, params: { path: published_procedure.path }
|
||||
expect(response).to redirect_to(root_path)
|
||||
expect(response).to redirect_to(closing_details_path(published_procedure.path))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue