From a8812dc148220360def15a0d19f20e45ae46597d Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Tue, 21 Apr 2015 18:45:05 +0200 Subject: Fix spec. --- features/steps/project/commits/commits.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features') diff --git a/features/steps/project/commits/commits.rb b/features/steps/project/commits/commits.rb index 57b727f837e..30b1934b363 100644 --- a/features/steps/project/commits/commits.rb +++ b/features/steps/project/commits/commits.rb @@ -18,7 +18,7 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps step 'I see commits atom feed' do commit = @project.repository.commit response_headers['Content-Type'].should have_content("application/atom+xml") - body.should have_selector("title", text: "Recent commits to #{@project.name}") + body.should have_selector("title", text: "#{@project.name}:master commits") body.should have_selector("author email", text: commit.author_email) body.should have_selector("entry summary", text: commit.description[0..10]) end -- cgit v1.2.1