Remove ProcedurePath
This commit is contained in:
parent
46e5e0a4fd
commit
78dc582588
13 changed files with 13 additions and 144 deletions
|
@ -129,7 +129,7 @@ feature 'The user' do
|
|||
private
|
||||
|
||||
def log_in(email, password, procedure)
|
||||
visit "/commencer/#{procedure.procedure_path.path}"
|
||||
visit "/commencer/#{procedure.path}"
|
||||
expect(page).to have_current_path(new_user_session_path)
|
||||
|
||||
fill_in 'user_email', with: email
|
||||
|
|
|
@ -47,7 +47,7 @@ feature 'linked dropdown lists' do
|
|||
private
|
||||
|
||||
def log_in(email, password, procedure)
|
||||
visit "/commencer/#{procedure.procedure_path.path}"
|
||||
visit "/commencer/#{procedure.path}"
|
||||
expect(page).to have_current_path(new_user_session_path)
|
||||
|
||||
fill_in 'user_email', with: email
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue