Compare view for commits

This commit is contained in:
Dmitriy Zaporozhets 2012-02-06 22:32:04 +02:00
parent 6c416aaac8
commit 422e43989b
13 changed files with 135 additions and 61 deletions

View file

@ -55,4 +55,14 @@ describe "Commits" do
current_path.should == project_commit_path(project, commit.id)
end
end
describe "GET /commits/compare" do
before do
visit compare_project_commits_path(project)
end
it "should have valid path" do
current_path.should == compare_project_commits_path(project)
end
end
end