Commit f8009a48 authored by Sato Hiroyuki's avatar Sato Hiroyuki

Fix spinach errors.

parent 2a687dd5
...@@ -11,7 +11,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps ...@@ -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 ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment