summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-30 22:21:19 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-30 22:21:19 -0800
commit8c50707dd4c9c0ca21f373ebd9fea30eb1b606b4 (patch)
treea83e3fb3978f2340500eda22db7df8a0c267bc6e /features
parent1fdeb9e03042b1b645ed0fe6c33fb4f21dd6ddb1 (diff)
parentad33c398008d9a2ec4a900c1d54f678a47de2cdd (diff)
downloadgitlab-ce-8c50707dd4c9c0ca21f373ebd9fea30eb1b606b4.tar.gz
Merge pull request #2823 from hiroponz/switchable-branch-on-network-graph
Switchable the main branch on network graph
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/project_network_graph.rb2
-rw-r--r--features/steps/shared/paths.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/project_network_graph.rb b/features/steps/project/project_network_graph.rb
index 77149bfe2c3..f26deff9367 100644
--- a/features/steps/project/project_network_graph.rb
+++ b/features/steps/project/project_network_graph.rb
@@ -14,6 +14,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
Gitlab::Graph::JsonBuilder.stub(max_count: 10)
project = Project.find_by_name("Shop")
- visit graph_project_path(project)
+ visit project_graph_path(project, "master")
end
end
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index 42ef40d6b95..97adfd13f30 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -141,7 +141,7 @@ module SharedPaths
# 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)
+ visit project_graph_path(@project, root_ref)
end
Given "I visit my project's issues page" do