From a3234f410ebb0a592bed68fe8b2cf7fd7a8678c9 Mon Sep 17 00:00:00 2001 From: Ash McKenzie Date: Thu, 12 Apr 2018 13:33:38 +1000 Subject: Include git SHA with GitLab version --- spec/views/admin/dashboard/index.html.haml_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spec/views') diff --git a/spec/views/admin/dashboard/index.html.haml_spec.rb b/spec/views/admin/dashboard/index.html.haml_spec.rb index b4359d819a0..099baacf019 100644 --- a/spec/views/admin/dashboard/index.html.haml_spec.rb +++ b/spec/views/admin/dashboard/index.html.haml_spec.rb @@ -18,4 +18,10 @@ describe 'admin/dashboard/index.html.haml' do expect(rendered).to have_content 'GitLab Workhorse' expect(rendered).to have_content Gitlab::Workhorse.version end + + it "includes revision of GitLab" do + render + + expect(rendered).to have_content "#{Gitlab::VERSION} (#{Gitlab::REVISION})" + end end -- cgit v1.2.1