@@ -506,7 +493,11 @@ describe GitPushService, services: true do
context"closing an issue"do
let(:message){"this is some work.\n\ncloses JIRA-1"}
let(:comment_body){{body: "Issue solved with [#{closing_commit.id}|http://#{Gitlab.config.gitlab.host}/#{project.path_with_namespace}/commit/#{closing_commit.id}]."}.to_json}
let(:comment_body)do
{
body: "Issue solved with [#{closing_commit.id}|http://#{Gitlab.config.gitlab.host}/#{project.path_with_namespace}/commit/#{closing_commit.id}]."