[Rails5] undefined method 'namespace_project_settings_repository_path'
Note: add
rails5
to a branch name to trigger rails5 specific CI jobs.
https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/82212514
9) Notify mirror user changed has the correct subject and body
Failure/Error: yield
ActionView::Template::Error:
undefined method `namespace_project_settings_repository_path' for #<#<Class:0x0000559133154090>:0x00007fb68cc1c920>
Did you mean? namespace_project_settings_repository_url
# ./config/application.rb:242:in `block (4 levels) in <class:Application>'
# ./ee/app/views/notify/project_mirror_user_changed_email.html.haml:5:in `_ee_app_views_notify_project_mirror_user_changed_email_html_haml__3973710653262567668_70211006876200'
# ./ee/app/mailers/emails/ee/projects.rb:17:in `project_mirror_user_changed_email'
# ./lib/gitlab/i18n.rb:51:in `with_locale'
# ./lib/gitlab/i18n.rb:61:in `with_default_locale'
# ./app/mailers/base_mailer.rb:20:in `render_with_default_locale'
# ./ee/spec/mailers/notify_spec.rb:227:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# NoMethodError:
# undefined method `namespace_project_settings_repository_path' for #<#<Class:0x0000559133154090>:0x00007fb68cc1c920>
# Did you mean? namespace_project_settings_repository_url
# ./config/application.rb:242:in `block (4 levels) in <class:Application>'