Add Spinach feature for Commit breadcrumbs

This commit is contained in:
Robert Speicher 2012-11-01 17:57:44 -04:00
parent badb092a2d
commit b1be377fb0
3 changed files with 17 additions and 0 deletions

View file

@ -121,6 +121,10 @@ module SharedPaths
visit project_commits_path(@project, @project.root_ref, {limit: 5})
end
Given "I visit my project's commits page for a specific path" do
visit project_commits_path(@project, @project.root_ref + "/app/models/project.rb", {limit: 5})
end
Given "I visit my project's network page" do
# Stub GraphCommit max_size to speed up test (10 commits vs. 650)
Gitlab::GraphCommit.stub(max_count: 10)