Commit ad33c398008d9a2ec4a900c1d54f678a47de2cdd
1 parent
525a8cd3
Exists in
master
and in
4 other branches
Fix wrong path of features.
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
features/steps/project/project_network_graph.rb
@@ -14,6 +14,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | @@ -14,6 +14,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | ||
14 | Gitlab::Graph::JsonBuilder.stub(max_count: 10) | 14 | Gitlab::Graph::JsonBuilder.stub(max_count: 10) |
15 | 15 | ||
16 | project = Project.find_by_name("Shop") | 16 | project = Project.find_by_name("Shop") |
17 | - visit graph_project_path(project) | 17 | + visit project_graph_path(project, "master") |
18 | end | 18 | end |
19 | end | 19 | end |
features/steps/shared/paths.rb
@@ -141,7 +141,7 @@ module SharedPaths | @@ -141,7 +141,7 @@ module SharedPaths | ||
141 | # Stub Graph::JsonBuilder max_size to speed up test (10 commits vs. 650) | 141 | # Stub Graph::JsonBuilder max_size to speed up test (10 commits vs. 650) |
142 | Gitlab::Graph::JsonBuilder.stub(max_count: 10) | 142 | Gitlab::Graph::JsonBuilder.stub(max_count: 10) |
143 | 143 | ||
144 | - visit graph_project_path(@project) | 144 | + visit project_graph_path(@project, root_ref) |
145 | end | 145 | end |
146 | 146 | ||
147 | Given "I visit my project's issues page" do | 147 | Given "I visit my project's issues page" do |