Commit 127f288a authored by Douwe Maan's avatar Douwe Maan

Use `to_reference` where possible.

parent 6f356148
...@@ -155,7 +155,7 @@ describe GitPushService do ...@@ -155,7 +155,7 @@ describe GitPushService do
before do before do
allow(commit).to receive_messages( allow(commit).to receive_messages(
safe_message: "this commit \n mentions ##{issue.iid}", safe_message: "this commit \n mentions #{issue.to_reference}",
references: [issue], references: [issue],
author_name: commit_author.name, author_name: commit_author.name,
author_email: commit_author.email author_email: commit_author.email
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment