Issue #185 – Show branch name for commits on activities & dashboard pages

This commit is contained in:
Dmitriy Zaporozhets 2011-11-12 15:18:56 +02:00
parent c1c64d985e
commit 4dd5d9c8cc
8 changed files with 25 additions and 7 deletions

View file

@ -22,6 +22,7 @@ describe "Dashboard" do
it "should have news feed" do
within "#news-feed" do
page.should have_content("master")
page.should have_content(@project.commit.author.name)
page.should have_content(@project.commit.safe_message)
end

View file

@ -72,10 +72,13 @@ describe "Projects" do
current_path.should == project_path(@project)
end
it "should beahave like dashboard" do
page.should have_content("History")
it "should beahave like activities page" do
within ".commit" do
page.should have_content("master")
page.should have_content(@project.commit.author.name)
page.should have_content(@project.commit.safe_message)
end
end
end
describe "GET /projects/team" do