Merge pull request #535 from sgmap/fix-528

[Fix #528] Fix a spelling mistake
This commit is contained in:
gregoirenovel 2017-07-04 12:28:01 +02:00 committed by GitHub
commit f27a390da9
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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