ProcedureOverview: use procedure_url to link with absolute path in email

This commit is contained in:
Simon Lehericey 2017-05-30 15:03:51 +02:00
parent f783d9e6f0
commit ae8b126594
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ describe ProcedureOverview, type: :model do
subject { procedure_overview.to_html }
context 'when the different count are equal to 0' do
it { is_expected.to match(/^<a href='.+'><strong>libelle<\/strong><\/a>$/) }
it { is_expected.to match(/^<a href='http:\/\/.+'><strong>libelle<\/strong><\/a>$/) }
end
context 'when the different counts are equal to 1' do