Use project_with_code factory where necessary
This commit is contained in:
parent
9a26e9a0d6
commit
f5dec306fd
8 changed files with 20 additions and 17 deletions
|
@ -15,7 +15,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
|
|||
end
|
||||
|
||||
Then 'I see commits atom feed' do
|
||||
commit = CommitDecorator.decorate(@project.repository.commit)
|
||||
commit = @project.repository.commit
|
||||
page.response_headers['Content-Type'].should have_content("application/atom+xml")
|
||||
page.body.should have_selector("title", :text => "Recent commits to #{@project.name}")
|
||||
page.body.should have_selector("author email", :text => commit.author_email)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue