ProcedureOverview: use procedure_url to link with absolute path in email
This commit is contained in:
parent
f783d9e6f0
commit
ae8b126594
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue