Fix spinach errors.
This commit is contained in:
parent
2a687dd562
commit
f8009a4858
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
|
||||||
|
|
||||||
And 'I visit project "Shop" network page' do
|
And 'I visit project "Shop" network page' do
|
||||||
# Stub Graph::JsonBuilder max_size to speed up test (10 commits vs. 650)
|
# Stub Graph::JsonBuilder max_size to speed up test (10 commits vs. 650)
|
||||||
Gitlab::Graph::JsonBuilder.stub(max_count: 10)
|
Graph::JsonBuilder.stub(max_count: 10)
|
||||||
|
|
||||||
project = Project.find_by_name("Shop")
|
project = Project.find_by_name("Shop")
|
||||||
visit project_graph_path(project, "master")
|
visit project_graph_path(project, "master")
|
||||||
|
|
|
@ -143,7 +143,7 @@ module SharedPaths
|
||||||
|
|
||||||
Given "I visit my project's network page" do
|
Given "I visit my project's network page" do
|
||||||
# Stub Graph::JsonBuilder max_size to speed up test (10 commits vs. 650)
|
# Stub Graph::JsonBuilder max_size to speed up test (10 commits vs. 650)
|
||||||
Gitlab::Graph::JsonBuilder.stub(max_count: 10)
|
Graph::JsonBuilder.stub(max_count: 10)
|
||||||
|
|
||||||
visit project_graph_path(@project, root_ref)
|
visit project_graph_path(@project, root_ref)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue