summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-12 21:49:20 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-12 21:49:20 +0300
commitb02c21df5cc0dcc795f71f8c11d05d61dc2ad897 (patch)
treebea06c356657d8025cf56f94886d3ba2c0e34a9e
parentb2d1e97df99dfdda65d5411de76dd34091d6be3e (diff)
downloadgitlab-ce-b02c21df5cc0dcc795f71f8c11d05d61dc2ad897.tar.gz
Fix tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--spec/helpers/gitlab_markdown_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb
index 15033f07432..246bb535fc1 100644
--- a/spec/helpers/gitlab_markdown_helper_spec.rb
+++ b/spec/helpers/gitlab_markdown_helper_spec.rb
@@ -60,7 +60,7 @@ describe GitlabMarkdownHelper do
end
it "should link using a short id" do
- actual = "Backported from #{commit.short_id(6)}"
+ actual = "Backported from #{commit.short_id}"
gfm(actual).should match(expected)
end