Compare views and cleanup

- Remove compare/_head and just use commits/_head since they're identical
- Add index view; extract the form into a partial
This commit is contained in:
Robert Speicher 2012-09-25 23:13:19 -04:00
parent 6cb626ef51
commit b462a13387
7 changed files with 45 additions and 66 deletions

View file

@ -139,7 +139,7 @@ module SharedPaths
end
Given 'I visit compare refs page' do
visit compare_project_commits_path(@project)
visit project_compare_index_path(@project)
end
Given 'I visit project commits page' do