Merge pull request #535 from sgmap/fix-528
[Fix #528] Fix a spelling mistake
This commit is contained in:
commit
f27a390da9
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class UsersController < ApplicationController
|
|||
end
|
||||
|
||||
def authorized_routes? controller
|
||||
redirect_to_root_path 'Le status de votre dossier n\'autorise pas cette URL' unless UserRoutesAuthorizationService.authorized_route?(
|
||||
redirect_to_root_path 'Le statut de votre dossier n\'autorise pas cette URL' unless UserRoutesAuthorizationService.authorized_route?(
|
||||
controller,
|
||||
current_user_dossier)
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
|
|
|
@ -49,7 +49,7 @@ feature 'drawing a zone with freedraw' do
|
|||
end
|
||||
|
||||
scenario 'alert message is present' do
|
||||
expect(page).to have_content('Le status de votre dossier n\'autorise pas cette URL')
|
||||
expect(page).to have_content('Le statut de votre dossier n\'autorise pas cette URL')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue