Decouple and refactor GraphCommit

This commit is contained in:
randx 2012-11-04 23:43:33 +02:00
parent f8e27b92bf
commit f082c8ae2a
7 changed files with 393 additions and 201 deletions

View file

@ -126,8 +126,8 @@ module SharedPaths
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)
# Stub Graph::JsonBuilder max_size to speed up test (10 commits vs. 650)
Gitlab::Graph::JsonBuilder.stub(max_count: 10)
visit graph_project_path(@project)
end