diff options
author | Shah El-Rahman <selrahman@gitlab.com> | 2018-04-06 16:35:07 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-04-06 16:35:07 +0300 |
commit | fccc09be2058fd2a8b4c6458830b55a854d3af8e (patch) | |
tree | f0786aa6ee2d8094dfacb5281f16679cef3e438a /spec/views/projects/merge_requests | |
parent | e5d32c2c0cf37d7feeabaadd4b7f2e8523a3cd03 (diff) |
Implement a new SHA partial for commit lists
Diffstat (limited to 'spec/views/projects/merge_requests')
-rw-r--r-- | spec/views/projects/merge_requests/_commits.html.haml_spec.rb | 2 |
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 |