summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-25 20:01:51 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-26 16:32:23 -0400
commitf814da38bf3d86b8ff045ff585c75af4d6755184 (patch)
tree044b59dd7c83636165be723c05d9ceae4321d759 /features
parent545dc7e47d627a5ba4b4219880801f26fbb77f4d (diff)
downloadgitlab-ce-f814da38bf3d86b8ff045ff585c75af4d6755184.tar.gz
Limit commit history to 5 in Spinach
Speeds things up a bit
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/paths.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index e1e1a7181da..fc23a798c59 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -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