Commit f814da38bf3d86b8ff045ff585c75af4d6755184
1 parent
545dc7e4
Exists in
master
and in
4 other branches
Limit commit history to 5 in Spinach
Speeds things up a bit
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
features/steps/shared/paths.rb
@@ -47,7 +47,11 @@ module SharedPaths | @@ -47,7 +47,11 @@ module SharedPaths | ||
47 | end | 47 | end |
48 | 48 | ||
49 | Given 'I visit project commits page' do | 49 | Given 'I visit project commits page' do |
50 | - visit project_commits_path(@project, @project.root_ref) | 50 | + visit project_commits_path(@project, @project.root_ref, {limit: 5}) |
51 | + end | ||
52 | + | ||
53 | + Given 'I visit project commits page for stable branch' do | ||
54 | + visit project_commits_path(@project, 'stable', {limit: 5}) | ||
51 | end | 55 | end |
52 | 56 | ||
53 | Given 'I visit project source page' do | 57 | Given 'I visit project source page' do |