diff --git a/app/views/deploys/_table.html.haml b/app/views/deploys/_table.html.haml index 0139dc1..3cea070 100644 --- a/app/views/deploys/_table.html.haml +++ b/app/views/deploys/_table.html.haml @@ -17,5 +17,5 @@ %td.who= deploy.username %td.message= deploy.message %td.repository= deploy.repository - %td.revision= deploy.revision + %td.revision= deploy.short_revision diff --git a/spec/controllers/deploys_controller_spec.rb b/spec/controllers/deploys_controller_spec.rb index 63daacb..f267366 100644 --- a/spec/controllers/deploys_controller_spec.rb +++ b/spec/controllers/deploys_controller_spec.rb @@ -55,7 +55,7 @@ describe DeploysController do end it "should contain info about existing deploy" do - response.body.should match(@deploy.revision) + response.body.should match(@deploy.short_revision) response.body.should match(@deploy.app.name) end end -- libgit2 0.21.2