Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-07-25 23:08:47 +0400
committerrandx <dmitriy.zaporozhets@gmail.com>2012-07-25 23:08:47 +0400
commit14c97237246f01da60ad73d9efd2c08c45927f09 (patch)
treefb0e6f5121f882a9ef0ab1a863fd77ff60468495 /features/step_definitions
parent501ca8e6e83c221487ccc03da906ccda385831c8 (diff)
Styled wiki area. fixed commit feed feature
Diffstat (limited to 'features/step_definitions')
-rw-r--r--features/step_definitions/project_commits_steps.rb4
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