From 3caf0aa89a964b8b3dcd21536e5bc274165ed2a2 Mon Sep 17 00:00:00 2001 From: randx Date: Sat, 28 Jul 2012 00:40:14 +0300 Subject: [PATCH] fix commits spec --- spec/requests/commits_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/commits_spec.rb b/spec/requests/commits_spec.rb index 0418697ea9..ae36a932ae 100644 --- a/spec/requests/commits_spec.rb +++ b/spec/requests/commits_spec.rb @@ -23,7 +23,7 @@ describe "Commits" do it "should list commits" do page.should have_content(commit.description) - page.should have_content(commit.short_id) + page.should have_content(commit.short_id(8)) end it "should render atom feed" do