Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2015-12-03 16:16:16 +0300
committerGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2015-12-08 10:43:09 +0300
commit75c6b29f6b15e164717c27e6c3d7eecb84c923f8 (patch)
tree61968366cc8185c053cd43c8db7625500032d702 /lib/gitlab/email/message
parent360a96a299397cbb5f8b15f916a9efd5962ff6be (diff)
Add `RepositoryPush` specs
Diffstat (limited to 'lib/gitlab/email/message')
-rw-r--r--lib/gitlab/email/message/repository_push.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/gitlab/email/message/repository_push.rb b/lib/gitlab/email/message/repository_push.rb
index bc8aece733f..3526eb2cad9 100644
--- a/lib/gitlab/email/message/repository_push.rb
+++ b/lib/gitlab/email/message/repository_push.rb
@@ -87,17 +87,17 @@ module Gitlab
if @action == :push
if commits.length > 1 && compare
@urls.namespace_project_compare_url(project_namespace,
- project,
- from: Commit.new(compare.base, project),
- to: Commit.new(compare.head, project))
+ project,
+ from: Commit.new(compare.base, project),
+ to: Commit.new(compare.head, project))
else
@urls.namespace_project_commit_url(project_namespace,
- project, commits.first)
+ project, commits.first)
end
else
unless @action == :delete
@urls.namespace_project_tree_url(project_namespace,
- project, ref_name)
+ project, ref_name)
end
end
end