summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Wu <victor@gitlab.com>2016-12-10 00:55:16 +0000
committervictorwu <victor@gitlab.com>2016-12-12 13:16:52 -0600
commit602447a399b831c16023af9701db60e38931e77d (patch)
tree3def79ed44c542b604a33d2b6ca86392acdcca79
parenta6ca5689b0df3a020a9cf9e7f9b9ed1a76863ec1 (diff)
downloadgitlab-ce-3478-copy-commit-hash-to-clipboard.tar.gz
-rw-r--r--spec/views/projects/commit/_commit_box.html.haml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/projects/commit/_commit_box.html.haml_spec.rb b/spec/views/projects/commit/_commit_box.html.haml_spec.rb
index 16bf0698c4b..e741e3cf9b6 100644
--- a/spec/views/projects/commit/_commit_box.html.haml_spec.rb
+++ b/spec/views/projects/commit/_commit_box.html.haml_spec.rb
@@ -13,7 +13,7 @@ describe 'projects/commit/_commit_box.html.haml' do
it 'shows the commit SHA' do
render
- expect(rendered).to have_text("Commit #{Commit.truncate_sha(project.commit.sha)}")
+ expect(rendered).to have_text("#{Commit.truncate_sha(project.commit.sha)}")
end
it 'shows the last pipeline that ran for the commit' do