diff options
author | Victor Wu <victor@gitlab.com> | 2016-12-10 00:55:16 +0000 |
---|---|---|
committer | victorwu <victor@gitlab.com> | 2016-12-12 13:16:52 -0600 |
commit | 602447a399b831c16023af9701db60e38931e77d (patch) | |
tree | 3def79ed44c542b604a33d2b6ca86392acdcca79 | |
parent | a6ca5689b0df3a020a9cf9e7f9b9ed1a76863ec1 (diff) | |
download | gitlab-ce-602447a399b831c16023af9701db60e38931e77d.tar.gz |
-rw-r--r-- | spec/views/projects/commit/_commit_box.html.haml_spec.rb | 2 |
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 |