diff --git a/features/steps/public/projects_feature.rb b/features/steps/public/projects_feature.rb index e9a4d56e36b..8abc6ae9f23 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