Limit commit history to 5 in Spinach

Speeds things up a bit
This commit is contained in:
Robert Speicher 2012-09-25 20:01:51 -04:00
parent 545dc7e47d
commit f814da38bf

View file

@ -47,7 +47,11 @@ module SharedPaths
end
Given 'I visit project commits page' do
visit project_commits_path(@project, @project.root_ref)
visit project_commits_path(@project, @project.root_ref, {limit: 5})
end
Given 'I visit project commits page for stable branch' do
visit project_commits_path(@project, 'stable', {limit: 5})
end
Given 'I visit project source page' do