From be7eb8e3c2954e4ba3546d124ee4f9e45657484f Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 21 Oct 2013 14:06:17 +0300 Subject: [PATCH] Fix test --- features/steps/public/projects_feature.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features/steps/public/projects_feature.rb b/features/steps/public/projects_feature.rb index e9a4d56..8abc6ae 100644 --- a/features/steps/public/projects_feature.rb +++ b/features/steps/public/projects_feature.rb @@ -49,7 +49,9 @@ class Spinach::Features::PublicProjectsFeature < Spinach::FeatureSteps end step 'I should see project "Community" home page' do - page.should have_content 'Repo size is' + within '.project-home-title' do + page.should have_content 'Community' + end end private -- libgit2 0.21.2