diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-01 19:16:08 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-01 19:16:08 +0400 |
commit | f5dec306fda53a6b2e90f64c0407077ab0022e8f (patch) | |
tree | 3b75866434840e682803f2a0264db85c6dd3ff3d /features | |
parent | 9a26e9a0d634c8bb796f0b08f6397d1e343bd4be (diff) |
Use project_with_code factory where necessary
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/project_browse_commits.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/project_browse_commits.rb b/features/steps/project/project_browse_commits.rb index 3433c2ba5f6..b4c595fa5aa 100644 --- a/features/steps/project/project_browse_commits.rb +++ b/features/steps/project/project_browse_commits.rb @@ -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) |