Decouple and refactor GraphCommit
This commit is contained in:
parent
f8e27b92bf
commit
f082c8ae2a
7 changed files with 393 additions and 201 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue