Styled wiki area. fixed commit feed feature
This commit is contained in:
parent
501ca8e6e8
commit
14c9723724
3 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue