@@ -492,6 +492,16 @@ describe GitPushService, services: true do
...
@@ -492,6 +492,16 @@ describe GitPushService, services: true do
let(:message){"this is some work.\n\ncloses JIRA-1"}
let(:message){"this is some work.\n\ncloses JIRA-1"}
let(:comment_body){{body: "Issue solved with [#{closing_commit.id}|http://localhost/#{project.path_with_namespace}/commit/#{closing_commit.id}]."}.to_json}
let(:comment_body){{body: "Issue solved with [#{closing_commit.id}|http://localhost/#{project.path_with_namespace}/commit/#{closing_commit.id}]."}.to_json}