diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-07-25 22:08:47 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-07-25 22:08:47 +0300 |
commit | 14c97237246f01da60ad73d9efd2c08c45927f09 (patch) | |
tree | fb0e6f5121f882a9ef0ab1a863fd77ff60468495 /features | |
parent | 501ca8e6e83c221487ccc03da906ccda385831c8 (diff) | |
download | gitlab-ce-14c97237246f01da60ad73d9efd2c08c45927f09.tar.gz |
Styled wiki area. fixed commit feed feature
Diffstat (limited to 'features')
-rw-r--r-- | features/step_definitions/project_commits_steps.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/step_definitions/project_commits_steps.rb b/features/step_definitions/project_commits_steps.rb index 9bfccfc06ed..9b3b0aa1f81 100644 --- a/features/step_definitions/project_commits_steps.rb +++ b/features/step_definitions/project_commits_steps.rb @@ -16,11 +16,11 @@ Given /^I click atom feed link$/ do end Then /^I see commits atom feed$/ do - commit = @project.commit + commit = CommitDecorator.decorate(@project.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) - page.body.should have_selector("entry summary", :text => commit.message) + page.body.should have_selector("entry summary", :text => commit.description) end Given /^I click on commit link$/ do |