Styled wiki area. fixed commit feed feature

This commit is contained in:
randx 2012-07-25 22:08:47 +03:00
parent 501ca8e6e8
commit 14c9723724
3 changed files with 12 additions and 8 deletions

View file

@ -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