Fix spinach errors.

This commit is contained in:
Sato Hiroyuki 2013-03-01 17:28:29 +09:00
parent 2a687dd562
commit f8009a4858
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
And 'I visit project "Shop" network page' do
# 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")
visit project_graph_path(project, "master")

View file

@ -143,7 +143,7 @@ module SharedPaths
Given "I visit my project's network page" do
# 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)
end