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:
authorShah El-Rahman <selrahman@gitlab.com>2018-04-06 16:35:07 +0300
committerTim Zallmann <tzallmann@gitlab.com>2018-04-06 16:35:07 +0300
commitfccc09be2058fd2a8b4c6458830b55a854d3af8e (patch)
treef0786aa6ee2d8094dfacb5281f16679cef3e438a /spec/views
parente5d32c2c0cf37d7feeabaadd4b7f2e8523a3cd03 (diff)
Implement a new SHA partial for commit lists
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/projects/merge_requests/_commits.html.haml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/projects/merge_requests/_commits.html.haml_spec.rb b/spec/views/projects/merge_requests/_commits.html.haml_spec.rb
index 3ca67114558..b1c6565c08a 100644
--- a/spec/views/projects/merge_requests/_commits.html.haml_spec.rb
+++ b/spec/views/projects/merge_requests/_commits.html.haml_spec.rb
@@ -28,6 +28,6 @@ describe 'projects/merge_requests/_commits.html.haml' do
commit = merge_request.commits.first # HEAD
href = diffs_project_merge_request_path(target_project, merge_request, commit_id: commit)
- expect(rendered).to have_link(Commit.truncate_sha(commit.sha), href: href)
+ expect(rendered).to have_link(href: href)
end
end